onCollapse
Description
当甘特图从全屏模式返回到普通模式时触发
onCollapse: () => void;
Example
gantt.attachEvent("onCollapse", function (){
// 在这里插入您的自定义逻辑
});
Related samples
Details
注释
此事件在 fullscreen 扩展中定义,因此需要通过 fullscreen 插件并使用 gantt.plugins 方法来激活。有关详细信息,请参阅 全屏模式 文章。
Related API
Related Guides
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.