UNPKG

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