feat(platform-browser): add HammerJS lazy-loader symbols to public API (#23943)
PR Close #23943
This commit is contained in:
parent
608c3748e8
commit
26fbf1d13c
|
@ -14,7 +14,8 @@ export {BrowserTransferStateModule, StateKey, TransferState, makeStateKey} from
|
||||||
export {By} from './dom/debug/by';
|
export {By} from './dom/debug/by';
|
||||||
export {DOCUMENT} from './dom/dom_tokens';
|
export {DOCUMENT} from './dom/dom_tokens';
|
||||||
export {EVENT_MANAGER_PLUGINS, EventManager} from './dom/events/event_manager';
|
export {EVENT_MANAGER_PLUGINS, EventManager} from './dom/events/event_manager';
|
||||||
export {HAMMER_GESTURE_CONFIG, HammerGestureConfig} from './dom/events/hammer_gestures';
|
export {HAMMER_GESTURE_CONFIG, HAMMER_LOADER, HammerGestureConfig, HammerLoader} from './dom/events/hammer_gestures';
|
||||||
export {DomSanitizer, SafeHtml, SafeResourceUrl, SafeScript, SafeStyle, SafeUrl, SafeValue} from './security/dom_sanitization_service';
|
export {DomSanitizer, SafeHtml, SafeResourceUrl, SafeScript, SafeStyle, SafeUrl, SafeValue} from './security/dom_sanitization_service';
|
||||||
|
|
||||||
export * from './private_export';
|
export * from './private_export';
|
||||||
export {VERSION} from './version';
|
export {VERSION} from './version';
|
||||||
|
|
|
@ -46,6 +46,8 @@ export declare class EventManager {
|
||||||
/** @experimental */
|
/** @experimental */
|
||||||
export declare const HAMMER_GESTURE_CONFIG: InjectionToken<HammerGestureConfig>;
|
export declare const HAMMER_GESTURE_CONFIG: InjectionToken<HammerGestureConfig>;
|
||||||
|
|
||||||
|
export declare const HAMMER_LOADER: InjectionToken<HammerLoader>;
|
||||||
|
|
||||||
/** @experimental */
|
/** @experimental */
|
||||||
export declare class HammerGestureConfig {
|
export declare class HammerGestureConfig {
|
||||||
events: string[];
|
events: string[];
|
||||||
|
@ -65,6 +67,8 @@ export declare class HammerGestureConfig {
|
||||||
buildHammer(element: HTMLElement): HammerInstance;
|
buildHammer(element: HTMLElement): HammerInstance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export declare type HammerLoader = (() => Promise<void>) | null;
|
||||||
|
|
||||||
/** @experimental */
|
/** @experimental */
|
||||||
export declare function makeStateKey<T = void>(key: string): StateKey<T>;
|
export declare function makeStateKey<T = void>(key: string): StateKey<T>;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue