@ux-aspects/ux-aspects
Version:
Open source user interface framework for building modern, responsive, mobile big data applications
26 lines (25 loc) • 1.08 kB
TypeScript
import { OnChanges, OnDestroy, OnInit } from '@angular/core';
import * as i0 from "@angular/core";
export declare class FloatLabelDirective<T = string> implements OnInit, OnChanges, OnDestroy {
private readonly _elementRef;
private readonly _renderer;
private readonly _autofillMonitor;
set input(input: HTMLInputElement);
get input(): HTMLInputElement;
value: T;
mode: 'focus' | 'input';
raised: boolean;
private _input;
private _focused;
private readonly _eventHandles;
private _subscription;
ngOnInit(): void;
ngOnChanges(): void;
ngOnDestroy(): void;
private hasText;
private inputFocus;
private inputBlur;
private inputChange;
static ɵfac: i0.ɵɵFactoryDeclaration<FloatLabelDirective<any>, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<FloatLabelDirective<any>, "[uxFloatLabel]", never, { "input": { "alias": "uxFloatLabel"; "required": false; }; "value": { "alias": "value"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, {}, never, never, false, never>;
}