Skip to main content

onBeforeExpand

Description

Fires when a user clicks on the expand icon to change the scheduler's size from original to 'full screen'.

onBeforeExpand: () => boolean

Returns

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

Example

scheduler.attachEvent("onBeforeExpand",function(){
//any custom logic here
return true;
});

Details

note

The event requires the expand plugin to be enabled.

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.