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