跳转到主要内容

onEmptyClick

Description

当用户点击调度器中空白区域(非事件部分)时触发

onEmptyClick: (date: object, e: Event) => void;

Parameters

  • date - (required) object - 对应用户点击位置的日期
  • e - (required) Event - 原生事件对象

Example

scheduler.attachEvent("onEmptyClick", function (date, e){
//这里编写自定义逻辑
});
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.