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