source: trip-planner-front/node_modules/@angular/cdk/platform/features/shadow-dom.d.ts@ 6fe77af

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

initial commit

  • Property mode set to 100644
File size: 846 bytes
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 */
8/** Checks whether the user's browser support Shadow DOM. */
9export declare function _supportsShadowDom(): boolean;
10/** Gets the shadow root of an element, if supported and the element is inside the Shadow DOM. */
11export declare function _getShadowRoot(element: HTMLElement): ShadowRoot | null;
12/**
13 * Gets the currently-focused element on the page while
14 * also piercing through Shadow DOM boundaries.
15 */
16export declare function _getFocusedElementPierceShadowDom(): HTMLElement | null;
17/** Gets the target of an event while accounting for Shadow DOM. */
18export declare function _getEventTarget<T extends EventTarget>(event: Event): T | null;
Note: See TracBrowser for help on using the repository browser.