primeng
Version:
PrimeNG is an open source UI library for Angular featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeB
34 lines (33 loc) • 1.45 kB
TypeScript
import { SimpleChanges } from '@angular/core';
import { BaseComponent } from 'primeng/basecomponent';
import * as i0 from "@angular/core";
/**
* Focus Trap keeps focus within a certain DOM element while tabbing.
* @group Components
*/
export declare class FocusTrap extends BaseComponent {
/**
* When set as true, focus wouldn't be managed.
* @group Props
*/
pFocusTrapDisabled: boolean;
platformId: Object;
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, true, never>;
static ngAcceptInputType_pFocusTrapDisabled: unknown;
}
export declare class FocusTrapModule {
static ɵfac: i0.ɵɵFactoryDeclaration<FocusTrapModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<FocusTrapModule, never, [typeof FocusTrap], [typeof FocusTrap]>;
static ɵinj: i0.ɵɵInjectorDeclaration<FocusTrapModule>;
}