UNPKG

@skyux/indicators

Version:

This library was generated with [Nx](https://nx.dev).

33 lines (32 loc) 1.66 kB
import { AfterViewChecked, OnDestroy, OnInit } from '@angular/core'; import { SkyIndicatorDescriptionType } from '../shared/indicator-description-type'; import { SkyLabelType } from './label-type'; import * as i0 from "@angular/core"; export declare class SkyLabelComponent implements AfterViewChecked, OnDestroy, OnInit { #private; /** * The type of label to display. * @default 'info' */ set labelType(value: SkyLabelType | undefined); /** * The predefined text to be read by screen readers for users who cannot see the indicator icon. * This property is optional but will be required in future versions of SKY UX. */ set descriptionType(value: SkyIndicatorDescriptionType | undefined); get descriptionType(): SkyIndicatorDescriptionType | undefined; /** * The text to be read by screen readers for users who cannot see * the indicator icon when `descriptionType` is `custom`. */ set customDescription(value: string | undefined); get customDescription(): string | undefined; descriptionComputed: string | undefined; iconName: string | undefined; labelTypeOrDefault: SkyLabelType; ngOnInit(): void; ngAfterViewChecked(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<SkyLabelComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<SkyLabelComponent, "sky-label", never, { "labelType": { "alias": "labelType"; "required": false; }; "descriptionType": { "alias": "descriptionType"; "required": false; }; "customDescription": { "alias": "customDescription"; "required": false; }; }, {}, never, ["*"], false, never>; }