UNPKG

@ux-aspects/ux-aspects

Version:

Open source user interface framework for building modern, responsive, mobile big data applications

16 lines (15 loc) 884 B
import { OnDestroy } from '@angular/core'; import * as i0 from "@angular/core"; export declare class FocusIfDirective implements OnDestroy { private readonly _elementRef; /** The delay that should ellapse before focussing the element */ focusIfDelay: number; /** Determine if we should scroll the element into view when focused */ focusIfScroll: boolean; /** Focus when the boolean value is true */ set focusIf(focus: boolean); private _timeout; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<FocusIfDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<FocusIfDirective, "[focusIf]", never, { "focusIfDelay": { "alias": "focusIfDelay"; "required": false; }; "focusIfScroll": { "alias": "focusIfScroll"; "required": false; }; "focusIf": { "alias": "focusIf"; "required": false; }; }, {}, never, never, false, never>; }