跳转到主要内容

isViewExists

Description​

验证是否存在指定名称的视图

isViewExists: (name: string) => boolean

Parameters​

  • name - (required) string - 视图的名称

Returns​

  • isExist - (boolean) - true 表示找到该视图;否则,false

Example​

scheduler.init('scheduler_here');
scheduler.load("data/events.xml");

scheduler.isViewExists("month"); //->true /*!*/
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.