跳转到主要内容

onBeforeCollapse

Description

当用户点击展开图标,将调度器的大小从"全屏"切换回其原始大小时触发。

onBeforeCollapse: () => void

Returns

  • result - (boolean) - 决定事件的默认操作是否继续执行(true)或被阻止(false

Example

scheduler.attachEvent("onBeforeCollapse",function(){
//在此处添加任何自定义逻辑
return true;
});

Details

注释

此事件需要启用 expand 扩展。

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.