跳转到主要内容

onDblClick

Description

当用户双击某个事件时触发

onDblClick: (id: string, e: Event) => boolean;

Parameters

  • id - (required) string - 事件的id
  • e - (required) Event - 原生事件对象

Returns

  • result - (boolean) - 指示事件的默认操作是否继续执行(true)或被阻止(false

Example

scheduler.attachEvent("onDblClick", function (id, e){
// 在这里编写自定义逻辑
return true;
})

Details

此事件可以被阻止。返回false将阻止默认行为的发生。

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.