跳转到主要内容

onTimelineCreated

Description

当Timeline视图已被设置完成但尚未显示在页面上时触发(仅适用于Timeline视图)

onTemplatesReady: (config: object) => void

Parameters

  • config - (required) object - Timeline视图的配置对象

Example

scheduler.attachEvent("onTimelineCreated", function (config){
// 在这里编写任何自定义逻辑
});

Details

该事件由createTimelineView方法调用。

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.