跳到主要内容

onExpand

Description

在甘特图扩展为全屏时触发

onExpand: () => void;

Example

gantt.attachEvent("onExpand", function (){
// 在这里插入您的自定义逻辑
});

Details

注释

该事件在 fullscreen 扩展中定义,因此需要使用 gantt.plugins 方法来激活 [fullscreen] 插件。请在 全屏模式 文章中了解详细信息。

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.