HTML DOM ClipboardEvent
ClipboardEvent 对象
剪贴板被修改时发生的事件,属于 ClipboardEvent 对象。
Clipboard事件属性和方法
属性/方法 | Description |
---|---|
clipboardData | Returns an object that contains data affected by clipboard operations. |
Inherited Properties and Methods
ClipboardEvent inherits all properties and methods from the following objects:
Event Type
These event types belong to the ClipboardEvent object:
Event | Description |
---|---|
oncopy | This event occurs when the user copies the content of an element. |
oncut | This event occurs when the user cuts the content of an element. |
onpaste | This event occurs when the user pastes content into an element. |