Skip to content

Commit b3d557c

Browse files
committed
WIP: publically export HAMMER_GESTURE_CONFIG and HammerGesturesPlugin
1 parent fe347cf commit b3d557c

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

modules/@angular/platform-browser/browser_common.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,12 @@ export const BROWSER_APP_COMMON_PROVIDERS: Array<any /*Type | Provider | any[]*/
8989
];
9090

9191

92+
export {
93+
HAMMER_GESTURE_CONFIG,
94+
HammerGestureConfig
95+
} from './src/dom/events/hammer_gestures'
96+
97+
9298
export function initDomAdapter() {
9399
BrowserDomAdapter.makeCurrent();
94100
wtfInit();

modules/@angular/platform-browser/platform_browser.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ export {
1616
By,
1717
Title,
1818
enableDebugTools,
19-
disableDebugTools
19+
disableDebugTools,
20+
HAMMER_GESTURE_CONFIG,
21+
HammerGestureConfig
2022
} from './browser_common';
2123

2224
export * from './private_export';

0 commit comments

Comments
 (0)