Returns the state of the igxFocus.
@ViewChild('focusContainer', {read: IgxFocusDirective})public igxFocus: IgxFocusDirective;let isFocusOn = this.igxFocus.focused; Copy
@ViewChild('focusContainer', {read: IgxFocusDirective})public igxFocus: IgxFocusDirective;let isFocusOn = this.igxFocus.focused;
IgxFocusDirective
Sets the state of the igxFocus.
<igx-input-group > <input #focusContainer igxInput [igxFocus]="true"/></igx-input-group> Copy
<igx-input-group > <input #focusContainer igxInput [igxFocus]="true"/></igx-input-group>
Gets the native element of the igxFocus.
@ViewChild('focusContainer', {read: IgxFocusDirective})public igxFocus: IgxFocusDirective;let igxFocusNativeElement = this.igxFocus.nativeElement; Copy
@ViewChild('focusContainer', {read: IgxFocusDirective})public igxFocus: IgxFocusDirective;let igxFocusNativeElement = this.igxFocus.nativeElement;
Triggers the igxFocus state.
@ViewChild('focusContainer', {read: IgxFocusDirective})public igxFocus: IgxFocusDirective;this.igxFocus.trigger(); Copy
@ViewChild('focusContainer', {read: IgxFocusDirective})public igxFocus: IgxFocusDirective;this.igxFocus.trigger();
Returns the state of the igxFocus.