Experimental
This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The clipboardchange
event fires when the system clipboard content changes.
Bubbles | No |
---|---|
Cancelable | No |
Interface | ClipboardEvent |
Event handler property | None |
Examples
JavaScript
window.addEventListener('clipboardchange', () => {
console.log('Clipboard contents changed');
});
Specifications
Specification | Status |
---|---|
Clipboard API and events The definition of 'clipboardchange event' in that specification. |
Working Draft |
Browser compatibility
BCD tables only load in the browser