跳到主要内容

plugins

Description

启用指定的扩展插件

plugins: (ext?: GanttPlugins) => GanttPlugins

Parameters

  • ext - (optional) GanttPlugins - 一个列出需要启用扩展插件的对象

Returns

  • activatedPlugins - (GanttPlugins) - 包含已启用扩展插件的对象

Example

gantt.plugins({
quick_info: true,
keyboard_navigation: true,
undo: true
});

Change log

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.