You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
846 B
18 lines
846 B
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
/** Checks whether the user's browser support Shadow DOM. */
|
|
export declare function _supportsShadowDom(): boolean;
|
|
/** Gets the shadow root of an element, if supported and the element is inside the Shadow DOM. */
|
|
export declare function _getShadowRoot(element: HTMLElement): ShadowRoot | null;
|
|
/**
|
|
* Gets the currently-focused element on the page while
|
|
* also piercing through Shadow DOM boundaries.
|
|
*/
|
|
export declare function _getFocusedElementPierceShadowDom(): HTMLElement | null;
|
|
/** Gets the target of an event while accounting for Shadow DOM. */
|
|
export declare function _getEventTarget<T extends EventTarget>(event: Event): T | null;
|