onEventPasted
Description
当用户按下 'CTRL+V' 键盘快捷键时触发
onEventPasted: (isCopy: boolean, pasted_ev: object, original_ev: object) => void;
Parameters
isCopy- (required) boolean - 指示事件是在粘贴之前被复制还是剪切。值为 true 表示事件是复制的pasted_ev- (required) object - 粘贴操作后新创建的事件对象original_ev- (required) object - 被复制或剪切的原始事件对象
Example
scheduler.attachEvent("onEventPasted", function(isCopy, pasted_ev, original_ev) {
//这里编写自定义逻辑
});
Related samples
Details
注释
该事件需要启用 key_nav 扩展。
Related Guides
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.