ckbutton.directive.d.ts 688 B

123456789101112131415161718192021
  1. import { OnInit, EventEmitter } from '@angular/core';
  2. import { CKEditorComponent } from './ckeditor.component';
  3. /**
  4. * CKGroup component
  5. * Usage :
  6. * <ckeditor [(ngModel)]="data" [config]="{...}" debounce="500">
  7. * <ckbutton [name]="'SaveButton'" [command]="'saveCommand'" (click)="save($event)"
  8. * [icon]="'/save.png'" [toolbar]="'customGroup,1'" [label]="'Save'">
  9. * </ckbutton>
  10. * </ckeditor>
  11. */
  12. export declare class CKButtonDirective implements OnInit {
  13. click: EventEmitter<any>;
  14. label: string;
  15. command: string;
  16. toolbar: string;
  17. name: string;
  18. icon: string;
  19. initialize(editor: CKEditorComponent): void;
  20. ngOnInit(): void;
  21. }