UNPKG

primeng

Version:

[![npm version](https://badge.fury.io/js/primeng.svg)](https://badge.fury.io/js/primeng) [![npm downloads](https://img.shields.io/npm/dm/primeng.svg)](https://www.npmjs.com/package/primeng) [![Actions CI](https://github.com/primefaces/primeng/workflows/No

35 lines (34 loc) 1.47 kB
import { ElementRef, SimpleChanges } from '@angular/core'; import * as i0 from "@angular/core"; import * as i1 from "@angular/common"; /** * Focus Trap keeps focus within a certain DOM element while tabbing. * @group Components */ export declare class FocusTrap { /** * When set as true, focus wouldn't be managed. * @group Props */ pFocusTrapDisabled: boolean; platformId: Object; host: ElementRef; document: Document; firstHiddenFocusableElement: HTMLElement; lastHiddenFocusableElement: HTMLElement; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; removeHiddenFocusableElements(): void; getComputedSelector(selector: any): string; createHiddenFocusableElements(): void; onFirstHiddenElementFocus(event: any): void; onLastHiddenElementFocus(event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration<FocusTrap, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<FocusTrap, "[pFocusTrap]", never, { "pFocusTrapDisabled": { "alias": "pFocusTrapDisabled"; "required": false; }; }, {}, never, never, false, never>; static ngAcceptInputType_pFocusTrapDisabled: unknown; } export declare class FocusTrapModule { static ɵfac: i0.ɵɵFactoryDeclaration<FocusTrapModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<FocusTrapModule, [typeof FocusTrap], [typeof i1.CommonModule], [typeof FocusTrap]>; static ɵinj: i0.ɵɵInjectorDeclaration<FocusTrapModule>; }