UNPKG

angular-rich-text-editor

Version:

A lightweight, configurable rich-text editor component for Angular applications.

14 lines (13 loc) 417 B
export type EditorEventHandler = () => void; export interface EditorEvent { event: string; handler: EditorEventHandler; } export declare class EditorEventManager { private editorInstance; private listeners; constructor(editorInstance: any); attach(event: string, handler: EditorEventHandler): void; attachMany(events: string[], handler: EditorEventHandler): void; detachAll(): void; }