@angular/material
Version:
Angular Material
18 lines (17 loc) • 695 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
*/
/// <amd-module name="@angular/material/schematics/ng-update/upgrade-rules/hammer-gestures-v9/hammer-template-check" />
/**
* Parses the specified HTML and searches for elements with Angular outputs listening to
* one of the known HammerJS events. This check naively assumes that the bindings never
* match on a component output, but only on the Hammer plugin.
*/
export declare function isHammerJsUsedInTemplate(html: string): {
standardEvents: boolean;
customEvents: boolean;
};