@angular-mdc/web
Version:
12 lines (11 loc) • 539 B
TypeScript
/**
* @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
*/
/** IE 11 compatible closest implementation that is able to start from non-Element Nodes. */
export declare function closest(element: EventTarget | Element | null | undefined, selector: string): Element | null;
/** IE 11 compatible matches implementation. */
export declare function matches(element: Element, selector: string): boolean;