@ux-aspects/ux-aspects
Version:
Open source user interface framework for building modern, responsive, mobile big data applications
23 lines (22 loc) • 1.32 kB
TypeScript
import { ElementRef, EventEmitter, OnDestroy } from '@angular/core';
import { FocusIndicatorService } from '../../../../directives/accessibility/index';
import * as i0 from "@angular/core";
export declare class FacetHeaderComponent implements OnDestroy {
readonly focusIndicatorService: FocusIndicatorService;
readonly elementRef: ElementRef<any>;
/** Defines the text to display in the header. */
header: string;
/** Defines whether or not clicking on the header will toggle the expanded state. */
canExpand: boolean;
/** Can be used to set the initial expanded state. */
expanded: boolean;
/** If two-way binding is used it will be updated when the expanded state changes. */
expandedChange: EventEmitter<boolean>;
/** Store Focus Indicator instance */
private readonly _focusIndicator;
constructor();
ngOnDestroy(): void;
toggleExpand(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<FacetHeaderComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<FacetHeaderComponent, "ux-facet-header", never, { "header": { "alias": "header"; "required": false; }; "canExpand": { "alias": "canExpand"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; }, { "expandedChange": "expandedChange"; }, never, never, false, never>;
}