UNPKG

rhino-editor

Version:

A custom element wrapped rich text editor

16 lines (15 loc) 530 B
import { BaseEvent } from "./base-event.js"; /** * Fires any time a user pastes into the editor */ export declare class RhinoPasteEvent extends BaseEvent implements ClipboardEvent { clipboardData: DataTransfer | null; originalPasteEvent: Event; static eventName: "rhino-paste"; constructor(clipboardData: DataTransfer | null, originalPasteEvent: Event, options?: EventInit | undefined); } declare global { interface GlobalEventHandlersEventMap { [RhinoPasteEvent.eventName]: RhinoPasteEvent; } }