跳转到主要内容

onEventCopied

Description

当用户按下 'CTRL+C' 键盘快捷键时触发(仅在启用了 'keyboard navigation' 扩展时有效)

onEventCopied: (ev: object) => void;

Parameters

  • ev - (required) object - 被复制事件的对象

Example

scheduler.attachEvent("onEventCopied", 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.