import { ElementRef, Renderer } from '@angular/core'; import { Config } from '../../config/config'; import { Ion } from '../ion'; /** * @name Label * @description * Labels are placed inside of an `ion-item` element and can be used * to describe an `ion-input`, `ion-toggle`, `ion-checkbox`, and more. * * @property [fixed] - A persistent label that sits next the input. * @property [floating] - A label that will float above the input if the input is empty or loses focus. * @property [stacked] - A stacked label will always appear on top of the input. * * @usage * ```html * * Username * * * * * Website * * * * * Email * * * * * Phone * * * * * Toggle * * * * * Checkbox * * * ``` * * @demo /docs/demos/src/label/ * @see {@link ../../../../components#inputs Input Component Docs} * @see {@link ../../input/Input Input API Docs} * */ export declare class Label extends Ion { private _id; /** * @hidden */ type: string; constructor(config: Config, elementRef: ElementRef, renderer: Renderer, isFloating: string, isStacked: string, isFixed: string, isInset: string); /** * @hidden */ id: string; /** * @hidden */ readonly text: string; }