甘特图 API事件onClear页面内容onClear Description 在通过 clearAll 方法从甘特图中移除所有任务后触发 onClear: () => void;Examplegantt.attachEvent("onClear", function (){ // 在这里插入您的自定义逻辑 });Related API clearAll 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.