This page needs to be updated to match the currently specified behaviour. In the meantime please refer to the specification: https://www.w3.org/TR/clipboard-apis/#the-cut-action
The cut
event is fired when a selection has been removed from the document and added to the clipboard.
General info
- Specification
- Clipboard
- Interface
- {{domxref("ClipboardEvent")}}
- Bubbles
- Yes
- Cancelable
- Yes
- Target
- {{domxref("DefaultView")}}, {{domxref("Document")}}, {{domxref("Element")}}
- Default Action
- None
Properties
{{OpenEventProperties()}}{{EventTableRow("clipboardData", "DataTransfer", "The contents of the clipboard. Not only text, but also files and images.", "readonly")}}{{CloseEventProperties()}}
Browser compatibility
{{ CompatibilityTable() }}
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | {{ CompatVersionUnknown() }} | {{ CompatVersionUnknown() }} | {{ CompatUnknown() }} | {{ CompatUnknown() }} | {{ CompatUnknown() }} |
clipboardData |
{{ CompatVersionUnknown() }} | {{ CompatGeckoDesktop(22) }} | {{ CompatNo() }} | {{ CompatUnknown() }} | {{ CompatUnknown() }} |
Feature | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | {{ CompatUnknown() }} | {{ CompatVersionUnknown() }} | {{ CompatUnknown() }} | {{ CompatUnknown() }} | {{ CompatUnknown() }} |
clipboardData |
{{ CompatUnknown() }} | {{ CompatGeckoMobile(22) }} | {{ CompatUnknown() }} | {{ CompatUnknown() }} | {{ CompatUnknown() }} |
Related events
- Copy-related events: {{CopyRelatedEvents()}}