new IgxFocusTrapDirective(): IgxFocusTrapDirective

Returns IgxFocusTrapDirective

Sets whether the Tab key focus is trapped within the element.

focusTrap: boolean = true

Defined in projects/igniteui-angular/directives/src/directives/focus-trap/focus-trap.directive.ts:40

Example

<div igxFocusTrap="true"></div>