@angular/cdk
Version:
Angular Material Component Development Kit
10 lines (9 loc) • 413 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;