UNPKG

1.09 kBTypeScriptView Raw
1import { ElementRef, EventEmitter, AfterViewInit, OnDestroy, AfterContentInit, TemplateRef, QueryList } from '@angular/core';
2export declare class ButtonDirective implements AfterViewInit, OnDestroy {
3 el: ElementRef;
4 iconPos: 'left' | 'right' | 'top' | 'bottom';
5 _label: string;
6 _icon: string;
7 initialized: boolean;
8 _initialStyleClass: string;
9 constructor(el: ElementRef);
10 ngAfterViewInit(): void;
11 getStyleClass(): string;
12 setStyleClass(): void;
13 get label(): string;
14 set label(val: string);
15 get icon(): string;
16 set icon(val: string);
17 ngOnDestroy(): void;
18}
19export declare class Button implements AfterContentInit {
20 type: string;
21 iconPos: string;
22 icon: string;
23 badge: string;
24 label: string;
25 disabled: boolean;
26 style: any;
27 styleClass: string;
28 badgeClass: string;
29 contentTemplate: TemplateRef<any>;
30 templates: QueryList<any>;
31 onClick: EventEmitter<any>;
32 onFocus: EventEmitter<any>;
33 onBlur: EventEmitter<any>;
34 ngAfterContentInit(): void;
35}
36export declare class ButtonModule {
37}