@kushki/ng-suka
Version:
<p align="center"> <h1 align="center">Suka Components Angular</h1> <p align="center"> An Angular implementation of the Suka Design System </p> </p>
37 lines (36 loc) • 994 B
TypeScript
import { AfterContentInit, ElementRef, TemplateRef } from '@angular/core';
export declare class Label implements AfterContentInit {
/**
* Used to build the id of the input item associated with the `Label`.
*/
static labelCounter: number;
/**
* Sets the unique ID. Defaults to `input-${total count of selects instantiated}`
*/
id: string;
/**
* Set to `true` to display a loading label.
*/
skeleton: boolean;
/**
* Sets the label helper text.
*/
helperText: string;
/**
* Sets the invalid text to display when the label is invalid.
*/
invalidText: string | TemplateRef<any>;
/**
* Set to `true` to display the invalid state.
*/
invalid: boolean;
/**
* Set to `true` to display the valid state.
*/
valid: boolean;
wrapper: ElementRef<HTMLDivElement>;
labelClass: boolean;
constructor();
ngAfterContentInit(): void;
isTemplate(value: any): boolean;
}