跳到主要内容

getState

Description

获取甘特图的当前状态

getState: () => GanttUIState

Returns

  • obj - (GanttUIState) - 状态对象

Example

const opened_task = gantt.getState().lightbox;
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.