UNPKG

573 BTypeScriptView Raw
1import { InjectionToken } from '@angular/core';
2import { NgxWigComponent } from './ngx-wig.component';
3export declare type commandFunction = (ctx: NgxWigComponent) => void;
4export interface TButton {
5 label?: string;
6 icon?: string;
7 title?: string;
8 command?: string | commandFunction;
9 styleClass?: string;
10}
11export interface TButtonLibrary {
12 [name: string]: TButton;
13}
14export declare const DEFAULT_LIBRARY_BUTTONS: TButtonLibrary;
15export declare const CUSTOM_LIBRARY_BUTTONS: TButtonLibrary;
16export declare const BUTTONS: InjectionToken<TButton[][]>;