onBeforeExpand

当用户点击展开图标,将调度器从原始大小切换到“全屏”时触发。

boolean onBeforeExpand();
boolean指示默认事件动作是否继续执行(true)或被阻止(false

Example

scheduler.attachEvent("onBeforeExpand",function(){
    // 可以在这里添加自定义逻辑
    return true;
});

Details

该事件需要启用 expand 插件。

See also
返回顶部