editor.d.ts 956 B

1234567891011121314151617181920212223242526272829303132
  1. import { ElementRef, AfterViewInit, EventEmitter } from '@angular/core';
  2. import { ControlValueAccessor } from '@angular/forms';
  3. export declare const EDITOR_VALUE_ACCESSOR: any;
  4. export 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. }
  31. export declare class EditorModule {
  32. }