UNPKG

956 BTypeScriptView Raw
1import { ElementRef, AfterViewInit, EventEmitter } from '@angular/core';
2import { ControlValueAccessor } from '@angular/forms';
3export declare const EDITOR_VALUE_ACCESSOR: any;
4export declare class Editor implements AfterViewInit, ControlValueAccessor {
5 el: ElementRef;
6 onTextChange: EventEmitter<any>;
7 onSelectionChange: EventEmitter<any>;
8 toolbar: any;
9 style: any;
10 styleClass: string;
11 placeholder: string;
12 formats: string[];
13 modules: any;
14 bounds: any;
15 scrollingContainer: any;
16 debug: string;
17 onInit: EventEmitter<any>;
18 value: string;
19 _readonly: boolean;
20 onModelChange: Function;
21 onModelTouched: Function;
22 quill: any;
23 constructor(el: ElementRef);
24 ngAfterViewInit(): void;
25 writeValue(value: any): void;
26 registerOnChange(fn: Function): void;
27 registerOnTouched(fn: Function): void;
28 getQuill(): any;
29 readonly: boolean;
30}
31export declare class EditorModule {
32}