跳转到主要内容

onTemplatesReady

Description

当调度器模板初始化完成时触发

onTemplatesReady: () => void

Example

scheduler.attachEvent("onTemplatesReady", function(){
//在此处放置自定义逻辑
});

Details

该事件表示调度器的模板已完全准备就绪。

建议将任何自定义视图创建代码放在 onTemplatesReady 事件处理程序中。这样可以确保自定义视图的模板在调度器初始化之前就已准备好,从而使自定义视图能够正确显示在页面上。

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.