feat(platform-browser): add HammerJS lazy-loader symbols to public API (#23943)

PR Close #23943
This commit is contained in:
Jeremy Elbourn
2018-05-16 10:00:33 -07:00
committed by Matias Niemelä
parent 608c3748e8
commit 26fbf1d13c
2 changed files with 6 additions and 1 deletions

View File

@ -46,6 +46,8 @@ export declare class EventManager {
/** @experimental */
export declare const HAMMER_GESTURE_CONFIG: InjectionToken<HammerGestureConfig>;
export declare const HAMMER_LOADER: InjectionToken<HammerLoader>;
/** @experimental */
export declare class HammerGestureConfig {
events: string[];
@ -65,6 +67,8 @@ export declare class HammerGestureConfig {
buildHammer(element: HTMLElement): HammerInstance;
}
export declare type HammerLoader = (() => Promise<void>) | null;
/** @experimental */
export declare function makeStateKey<T = void>(key: string): StateKey<T>;