UNPKG

rhino-editor

Version:

A custom element wrapped rich text editor

17 lines (16 loc) 609 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 AttachmentRemoveEvent extends BaseEvent { attachment: AttachmentManager; static eventName: "rhino-attachment-remove"; constructor(attachment: AttachmentManager, options?: Partial<EventInit>); } declare global { interface GlobalEventHandlersEventMap { [AttachmentRemoveEvent.eventName]: AttachmentRemoveEvent; } }