UNPKG

rhino-editor

Version:

A custom element wrapped rich text editor

17 lines (16 loc) 597 B
import { AttachmentManager } from "../attachment-manager.js"; import { BaseEvent } from "./base-event.js"; /** * A mapping of the "trix-attachment-add" for Rhino that follows the same construct. * Fires after an attachment has been added. */ export declare class AddAttachmentEvent extends BaseEvent { attachment: AttachmentManager; static eventName: "rhino-attachment-add"; constructor(attachment: AttachmentManager, options?: Partial<EventInit>); } declare global { interface GlobalEventHandlersEventMap { [AddAttachmentEvent.eventName]: AddAttachmentEvent; } }