angular separate material module

Solutions on MaxInterview for angular separate material module by the best coders in the world

showing results for - "angular separate material module"
Lindsay
12 Nov 2017
1import { NgModule } from '@angular/core';
2import {CdkTableModule} from '@angular/cdk/table';
3import {
4  MatAutocompleteModule,
5  MatButtonModule,
6  MatButtonToggleModule,
7  MatCardModule,
8  MatCheckboxModule,
9  MatChipsModule,
10  MatDatepickerModule,
11  MatDialogModule,
12  MatExpansionModule,
13  MatGridListModule,
14  MatIconModule,
15  MatInputModule,
16  MatListModule,
17  MatMenuModule,
18  MatNativeDateModule,
19  MatPaginatorModule,
20  MatProgressBarModule,
21  MatProgressSpinnerModule,
22  MatRadioModule,
23  MatRippleModule,
24  MatSelectModule,
25  MatSidenavModule,
26  MatSliderModule,
27  MatSlideToggleModule,
28  MatSnackBarModule,
29  MatSortModule,
30  MatTableModule,
31  MatTabsModule,
32  MatToolbarModule,
33  MatTooltipModule,
34  MatStepperModule,
35} from '@angular/material';
36
37const modules = [
38  CdkTableModule,
39  MatAutocompleteModule,
40  MatButtonModule,
41  MatButtonToggleModule,
42  MatCardModule,
43  MatCheckboxModule,
44  MatChipsModule,
45  MatStepperModule,
46  MatDatepickerModule,
47  MatDialogModule,
48  MatExpansionModule,
49  MatGridListModule,
50  MatIconModule,
51  MatInputModule,
52  MatListModule,
53  MatMenuModule,
54  MatNativeDateModule,
55  MatPaginatorModule,
56  MatProgressBarModule,
57  MatProgressSpinnerModule,
58  MatRadioModule,
59  MatRippleModule,
60  MatSelectModule,
61  MatSidenavModule,
62  MatSliderModule,
63  MatSlideToggleModule,
64  MatSnackBarModule,
65  MatSortModule,
66  MatTableModule,
67  MatTabsModule,
68  MatToolbarModule,
69  MatTooltipModule,
70];
71
72@NgModule({
73  imports: modules,
74  exports: modules,
75})
76export class MaterialModule {
77}
78
79