UNPKG

1.08 kBTypeScriptView Raw
1import { EventEmitter, TemplateRef, OnInit } from '@angular/core';
2import { TabsetComponent } from './tabset.component';
3export declare class TabDirective implements OnInit {
4 /** tab header text */
5 heading: string;
6 /** if true tab can not be activated */
7 disabled: boolean;
8 /** if true tab can be removable, additional button will appear */
9 removable: boolean;
10 /** if set, will be added to the tab's class atribute */
11 customClass: string;
12 /** tab active state toggle */
13 active: boolean;
14 /** fired when tab became active, $event:Tab equals to selected instance of Tab component */
15 select: EventEmitter<TabDirective>;
16 /** fired when tab became inactive, $event:Tab equals to deselected instance of Tab component */
17 deselect: EventEmitter<TabDirective>;
18 /** fired before tab will be removed */
19 removed: EventEmitter<TabDirective>;
20 addClass: boolean;
21 headingRef: TemplateRef<any>;
22 tabset: TabsetComponent;
23 protected _active: boolean;
24 constructor(tabset: TabsetComponent);
25 ngOnInit(): void;
26}