UNPKG

@tavanasystem/advance-toolbar

Version:

advance toolbar simple beautiful toolbar , you can ues easily from this toolbar and enjoy it . this toolbar has simple configs :

24 lines (23 loc) 690 B
import { Observable } from 'rxjs'; export interface AdvanceToolbarConfig { id: any; show: boolean | (() => boolean); disable?: boolean | (() => boolean); icon?: string | (() => string); disableIcon?: string; title?: string | (() => string); btnType?: 'icon-button' | 'stroked-button' | 'label' | 'menu'; hideTooltip?: boolean; styles?: any; submenuItems?: Observable<SubmenuConfig[]>; hasDividerAfter?: boolean; } export interface SubmenuConfig { id: any; title: string; hide?: boolean | (() => boolean); disable?: boolean | (() => boolean); icon?: string; disableIcon?: string; styles?: any; }