UNPKG

1.16 kBTypeScriptView Raw
1import { ElementRef, AfterViewInit, EventEmitter, QueryList, AfterContentInit, TemplateRef } from '@angular/core';
2import { ControlValueAccessor } from '@angular/forms';
3export declare const EDITOR_VALUE_ACCESSOR: any;
4export declare class Editor implements AfterViewInit, AfterContentInit, 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 templates: QueryList<any>;
19 value: string;
20 _readonly: boolean;
21 onModelChange: Function;
22 onModelTouched: Function;
23 quill: any;
24 toolbarTemplate: TemplateRef<any>;
25 constructor(el: ElementRef);
26 ngAfterViewInit(): void;
27 ngAfterContentInit(): void;
28 writeValue(value: any): void;
29 registerOnChange(fn: Function): void;
30 registerOnTouched(fn: Function): void;
31 getQuill(): any;
32 get readonly(): boolean;
33 set readonly(val: boolean);
34}
35export declare class EditorModule {
36}