ionic-framework
Version:
37 lines (36 loc) • 875 B
TypeScript
import { ElementRef, Renderer } from 'angular2/core';
import { Config } from '../../config/config';
import { TextInput } from './text-input';
/**
* @name Label
* @description
* Labels describe the data that the user should enter in to an input element.
* @usage
* ```html
* <ion-input>
* <ion-label>Username</ion-label>
* <input type="text" value="">
* </ion-input>
* ```
*
* @see {@link ../../../../components#inputs Input Component Docs}
* @see {@link ../Input Input API Docs}
*
*/
export declare class Label {
private elementRef;
private renderer;
constructor(config: Config, container: TextInput, elementRef: ElementRef, renderer: Renderer);
/**
* @private
*/
pointerStart(ev: any): void;
/**
* @private
*/
pointerEnd(ev: any): void;
/**
* @private
*/
addClass(className: any): void;
}