primeng
Version:
[](https://badge.fury.io/js/primeng) [](https://www.npmjs.com/package/primeng) [ • 1.47 kB
TypeScript
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>;
}