MCPcopy Create free account
hub / github.com/adobe/react-spectrum / constructor

Method constructor

packages/react-aria/test/dnd/mocks.js:146–149  ·  view source on GitHub ↗
(type, init)

Source from the content-addressed store, hash-verified

144
145export class ClipboardEvent extends Event {
146 constructor(type, init) {
147 super(type, {...init, bubbles: true, cancelable: true, composed: true});
148 this.clipboardData = init.clipboardData;
149 }
150}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected