甘特图 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.