angular/packages/platform-browser/src/dom
arturovt f8055f6fb8 fix(platform-browser): ensure that Hammer loader is called only once (#40911)
Currently, the function that is provided through `HAMMER_LOADER` is called the
same number of times as the `HammerGesturesPlugin.addEventListener` method is called
(until the Hammer is loaded).

This commit adds a class property in which the loader call is saved, thereby
preventing multiple calls to the loader function.

PR Close #25995

PR Close #40911
2021-02-19 09:08:35 -08:00
..
debug build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
events fix(platform-browser): ensure that Hammer loader is called only once (#40911) 2021-02-19 09:08:35 -08:00
dom_renderer.ts fix(core): handle !important in style property value (#39603) 2020-11-12 09:11:18 -08:00
shared_styles_host.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
util.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00