UNPKG

@angular/material

Version:
42 lines (41 loc) 1.53 kB
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { FocusMonitor } from '@angular/cdk/a11y'; import { ChangeDetectorRef, OnDestroy, ElementRef, Renderer2 } from '@angular/core'; import { MatStepLabel } from './step-label'; import { MatStepperIntl } from './stepper-intl'; export declare class MatStepHeader implements OnDestroy { _intl: MatStepperIntl; private _focusMonitor; private _element; private _intlSubscription; /** Icon for the given step. */ icon: string; /** Label of the given step. */ label: MatStepLabel | string; /** Index of the given step. */ index: any; private _index; /** Whether the given step is selected. */ selected: any; private _selected; /** Whether the given step label is active. */ active: any; private _active; /** Whether the given step is optional. */ optional: any; private _optional; constructor(_intl: MatStepperIntl, _focusMonitor: FocusMonitor, _element: ElementRef, renderer: Renderer2, changeDetectorRef: ChangeDetectorRef); ngOnDestroy(): void; /** 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(): MatStepLabel | null; /** Returns the host HTML element. */ _getHostElement(): any; }