API事件onViewChange本页内容onViewChange Description 在当前视图切换为其他视图后触发 onViewChange: (new_mode: string, new_date: Date) => voidParameters new_mode - (required) string - 新的视图 new_date - (required) Date - 新日期 Examplescheduler.attachEvent("onViewChange", (new_mode, new_date) => { // 在此处编写任意自定义逻辑});Details每次将当前视图切换为其他视图时,该事件都会被调用。Need help?Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.