跳转到主要内容

onDestroy

Description

当使用 destructor 方法清除调度器后触发一次

onDestroy: () => void

Example

scheduler.attachEvent("onDestroy", function(){
alert("释放自定义资源");
});

scheduler.destructor();

Change log

  • 在 v6.0 中添加
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.