Skip to main content

isViewExists

Description

Checks whether a view with the specified name exists

isViewExists: (name: string) => boolean

Parameters

  • name - (required) string - the view name

Returns

  • isExist - (boolean) - true, if the view exists. Otherwise, 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.