@mobilelivenpm/fds-angular-qa
Version:
This library was generated with [Nx](https://nx.dev).
37 lines (36 loc) • 1.53 kB
TypeScript
import { TemplateRef, ElementRef, ChangeDetectorRef } from '@angular/core';
import { FdsStepLabel } from './step-label';
import { StepState, CdkStepHeader } from '@angular/cdk/stepper';
import { FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
export declare class FdsStepHeader extends CdkStepHeader {
private _focusMonitor;
/** Label of the given step. */
label: FdsStepLabel | string;
editable: boolean;
/** State of the given step. */
state: StepState;
/** Index of the given step. */
index: number;
/** Whether the given step is selected. */
selected: boolean;
get stepAriaLabel(): string;
get isSelected(): string | number;
/** Whether the given step label is active. */
active: boolean;
/** Overrides for the header icons, passed in via the stepper. */
iconOverrides: {
[key: string]: TemplateRef<any>;
};
constructor(_focusMonitor: FocusMonitor, _elementRef: ElementRef<HTMLElement>, changeDetectorRef: ChangeDetectorRef);
ngAfterViewInit(): void;
ngOnDestroy(): void;
/** Focuses the step header. */
focus(origin?: FocusOrigin, options?: FocusOptions): void;
/** Returns the host HTML element. */
_getHostElement(): HTMLElement;
/** Returns string label of given step if it is a text label. */
_stringLabel(): string | null;
/** Returns MatStepLabel if the label of given step is a template label. */
_templateLabel(): FdsStepLabel | null;
_getDefaultTextForState(state: StepState): string;
}