@nova-ui/bits
Version:
SolarWinds Nova Framework
25 lines (24 loc) • 1.3 kB
TypeScript
import { ChangeDetectorRef, ElementRef, EventEmitter } from "@angular/core";
import * as i0 from "@angular/core";
/** @ignore */
export declare class TabHeadingComponent {
private changeDetector;
private elementRef;
/** This adds 'disabled' class to the host component depending on the 'disabled' @Input to properly style disabled tabs */
get isDisabled(): boolean;
/** If true tab can not be activated */
disabled: boolean;
/** Tab active state toggle */
set active(isActive: boolean);
get active(): boolean;
/** Tab id */
tabId: string;
/** Event is fired when tab became active, $event:Tab equals to selected instance of Tab component */
selected: EventEmitter<TabHeadingComponent>;
protected _active: boolean;
constructor(changeDetector: ChangeDetectorRef, elementRef: ElementRef);
selectTab(): void;
onKeyDown(event: KeyboardEvent): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TabHeadingComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TabHeadingComponent, "nui-tab-heading", never, { "disabled": { "alias": "disabled"; "required": false; }; "active": { "alias": "active"; "required": false; }; "tabId": { "alias": "tabId"; "required": false; }; }, { "selected": "selected"; }, never, ["*"], false, never>;
}