ckeditor.component.d.ts 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. import { EventEmitter, NgZone, QueryList, AfterViewInit, SimpleChanges, OnChanges } from '@angular/core';
  2. import { CKButtonDirective } from './ckbutton.directive';
  3. import { CKGroupDirective } from './ckgroup.directive';
  4. /**
  5. * CKEditor component
  6. * Usage :
  7. * <ckeditor [(ngModel)]="data" [config]="{...}" debounce="500"></ckeditor>
  8. */
  9. export declare class CKEditorComponent implements OnChanges, AfterViewInit {
  10. private zone;
  11. config: any;
  12. readonly: boolean;
  13. debounce: string;
  14. change: EventEmitter<any>;
  15. editorChange: EventEmitter<any>;
  16. ready: EventEmitter<any>;
  17. blur: EventEmitter<any>;
  18. focus: EventEmitter<any>;
  19. contentDom: EventEmitter<any>;
  20. fileUploadRequest: EventEmitter<any>;
  21. fileUploadResponse: EventEmitter<any>;
  22. paste: EventEmitter<any>;
  23. drop: EventEmitter<any>;
  24. host: any;
  25. toolbarButtons: QueryList<CKButtonDirective>;
  26. toolbarGroups: QueryList<CKGroupDirective>;
  27. _value: string;
  28. instance: any;
  29. debounceTimeout: any;
  30. /**
  31. * Constructor
  32. */
  33. constructor(zone: NgZone);
  34. value: any;
  35. ngOnChanges(changes: SimpleChanges): void;
  36. /**
  37. * On component destroy
  38. */
  39. ngOnDestroy(): void;
  40. /**
  41. * On component view init
  42. */
  43. ngAfterViewInit(): void;
  44. /**
  45. * On component view checked
  46. */
  47. ngAfterViewChecked(): void;
  48. /**
  49. * Value update process
  50. */
  51. updateValue(value: any): void;
  52. /**
  53. * CKEditor init
  54. */
  55. ckeditorInit(config: any): void;
  56. /**
  57. * Implements ControlValueAccessor
  58. */
  59. writeValue(value: any): void;
  60. onChange(_: any): void;
  61. onTouched(): void;
  62. registerOnChange(fn: any): void;
  63. registerOnTouched(fn: any): void;
  64. private documentContains;
  65. }