@@ -6,9 +6,11 @@ import { FilePondModule,registerPlugin } from '@xmlking/ngx-filepond';
6
6
7
7
import { SharedModule } from '@nx-starter-kit/shared' ;
8
8
import { UploadModule } from '@nx-starter-kit/upload' ;
9
+ import { ContextMenuModule } from "@nx-starter-kit/context-menu" ;
9
10
import { AnimationsComponent } from './containers/animations/animations.component' ;
10
11
import { FileUploadComponent } from './containers/file-upload/file-upload.component' ;
11
12
import { HammertimeDirective } from './components/hammertime/hammertime.directive' ;
13
+ import { ContextMenuComponent } from './containers/context-menu/context-menu.component' ;
12
14
13
15
export class MyHammerConfig extends HammerGestureConfig {
14
16
overrides = < any > {
@@ -22,13 +24,15 @@ import * as FilePondPluginFileValidateType from 'filepond-plugin-file-validate-t
22
24
import * as FilepondPluginFileValidateSize from 'filepond-plugin-file-validate-size' ;
23
25
import * as FilepondPluginImagePreview from 'filepond-plugin-image-preview' ;
24
26
27
+
25
28
registerPlugin ( FilePondPluginFileValidateType , FilepondPluginFileValidateSize , FilepondPluginImagePreview ) ;
26
29
27
30
@NgModule ( {
28
31
imports : [
29
32
SharedModule ,
30
33
UploadModule ,
31
34
FilePondModule ,
35
+ ContextMenuModule ,
32
36
RouterModule . forChild ( [
33
37
/* {path: '', pathMatch: 'full', component: InsertYourComponentHere} */
34
38
{ path : '' , redirectTo : 'animations' , pathMatch : 'full' , data : { animation : 'experiments' } } ,
@@ -43,9 +47,9 @@ registerPlugin(FilePondPluginFileValidateType, FilepondPluginFileValidateSize, F
43
47
data : { animation : 'file-upload' }
44
48
} ,
45
49
{
46
- path : 'experiment3 ' ,
47
- component : AnimationsComponent ,
48
- data : { animation : 'experiment3 ' }
50
+ path : 'context-menu ' ,
51
+ component : ContextMenuComponent ,
52
+ data : { animation : 'context-menu ' }
49
53
}
50
54
] )
51
55
] ,
@@ -55,6 +59,6 @@ registerPlugin(FilePondPluginFileValidateType, FilepondPluginFileValidateSize, F
55
59
useClass : MyHammerConfig
56
60
}
57
61
] ,
58
- declarations : [ AnimationsComponent , FileUploadComponent , HammertimeDirective ]
62
+ declarations : [ AnimationsComponent , FileUploadComponent , HammertimeDirective , ContextMenuComponent ]
59
63
} )
60
64
export class ExperimentsModule { }
0 commit comments