Skip to main content

onBeforeTodayDisplayed

Description

Fires when the user clicks on the 'Today' button in the scheduler

onBeforeTodayDisplayed: () => boolean

Returns

  • result - (boolean) - defines whether the default action of the event will be triggered (true) or canceled (false)

Example

scheduler.attachEvent("onBeforeTodayDisplayed", function (){
//any custom logic here
return 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.