跳转到主要内容

onEventCut

Description

当用户按下 'CTRL+X' 快捷键时触发该事件(仅当启用了"keyboard navigation"扩展时有效)

onEventCut: (ev: object) => void;

Parameters

  • ev - (required) object - 事件对象

Example

scheduler.attachEvent("onEventCut", function(ev) {
dhtmlx.message("您已剪切事件:<br/><b>"+ev.text+"</b>");
scheduler.updateEvent(ev.id);
});

Details

注释

该事件仅在启用 key_nav 扩展时生效。

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.