Interface DocumentAndElementEventHandlers
interface DocumentAndElementEventHandlers { oncopy: null | ((this: DocumentAndElementEventHandlers,
ev: ClipboardEvent) => any); oncut: null | ((this: DocumentAndElementEventHandlers,
ev: ClipboardEvent) => any); onpaste: null | ((this: DocumentAndElementEventHandlers,
ev: ClipboardEvent) => any); addEventListener<K>(type: K,
listener: ((this: DocumentAndElementEventHandlers,
ev: DocumentAndElementEventHandlersEventMap[K]) => any),
options?: boolean | AddEventListenerOptions): void; addEventListener(type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions): void; removeEventListener<K>(type: K,
listener: ((this: DocumentAndElementEventHandlers,
ev: DocumentAndElementEventHandlersEventMap[K]) => any),
options?: boolean | EventListenerOptions): void; removeEventListener(type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions): void; } - DocumentAndElementEventHandlers
Properties
oncopy
oncut
onpaste
Methods
addEventListener
- addEventListener<K>(type, listener, options?): void
Returns void
- addEventListener(type, listener, options?): void
Returns void
removeEventListener
- removeEventListener<K>(type, listener, options?): void
Returns void
- removeEventListener(type, listener, options?): void
Returns void