onExpand

当甘特图切换到全屏模式时触发

void onExpand();

Example

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

Related samples

Details

该事件来自fullscreen扩展,因此请确保通过gantt.plugins方法启用fullscreen插件。欲了解更多信息,请参阅全屏模式文章。

See also
Back to top