We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c741c4 commit 99a3fa9Copy full SHA for 99a3fa9
src/lib/sort/sort-module.ts
@@ -7,6 +7,8 @@
7
*/
8
9
import {NgModule} from '@angular/core';
10
+import {GestureConfig} from '@angular/material/core';
11
+import {HAMMER_GESTURE_CONFIG} from '@angular/platform-browser';
12
import {MatSortHeader} from './sort-header';
13
import {MatSort} from './sort';
14
import {MAT_SORT_HEADER_INTL_PROVIDER} from './sort-header-intl';
@@ -17,6 +19,9 @@ import {CommonModule} from '@angular/common';
17
19
imports: [CommonModule],
18
20
exports: [MatSort, MatSortHeader],
21
declarations: [MatSort, MatSortHeader],
- providers: [MAT_SORT_HEADER_INTL_PROVIDER]
22
+ providers: [
23
+ MAT_SORT_HEADER_INTL_PROVIDER,
24
+ {provide: HAMMER_GESTURE_CONFIG, useClass: GestureConfig},
25
+ ]
26
})
27
export class MatSortModule {}
0 commit comments