source: trip-planner-front/node_modules/@angular/cdk/a11y/focus-trap/configurable-focus-trap-factory.d.ts

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.8 KB
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { NgZone } from '@angular/core';
9import { InteractivityChecker } from '../interactivity-checker/interactivity-checker';
10import { ConfigurableFocusTrap } from './configurable-focus-trap';
11import { ConfigurableFocusTrapConfig } from './configurable-focus-trap-config';
12import { FocusTrapInertStrategy } from './focus-trap-inert-strategy';
13import { FocusTrapManager } from './focus-trap-manager';
14/** Factory that allows easy instantiation of configurable focus traps. */
15import * as ɵngcc0 from '@angular/core';
16export declare class ConfigurableFocusTrapFactory {
17 private _checker;
18 private _ngZone;
19 private _focusTrapManager;
20 private _document;
21 private _inertStrategy;
22 constructor(_checker: InteractivityChecker, _ngZone: NgZone, _focusTrapManager: FocusTrapManager, _document: any, _inertStrategy?: FocusTrapInertStrategy);
23 /**
24 * Creates a focus-trapped region around the given element.
25 * @param element The element around which focus will be trapped.
26 * @param config The focus trap configuration.
27 * @returns The created focus trap instance.
28 */
29 create(element: HTMLElement, config?: ConfigurableFocusTrapConfig): ConfigurableFocusTrap;
30 /**
31 * @deprecated Pass a config object instead of the `deferCaptureElements` flag.
32 * @breaking-change 11.0.0
33 */
34 create(element: HTMLElement, deferCaptureElements: boolean): ConfigurableFocusTrap;
35 static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<ConfigurableFocusTrapFactory, [null, null, null, null, { optional: true; }]>;
36}
37
38//# sourceMappingURL=configurable-focus-trap-factory.d.ts.map
Note: See TracBrowser for help on using the repository browser.