Mercurial > hg > ugly-duckling
comparison src/app/ugly-material.module.ts @ 493:7f9fb84816b9
Introduce a singleton / service for communicating errors / or other notifications (there aren't any yet) - using MdSnackBar internally.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Thu, 06 Jul 2017 19:47:18 +0100 |
parents | 663f1c61fe98 |
children | cf4a17efb5d4 |
comparison
equal
deleted
inserted
replaced
492:023fbba200d2 | 493:7f9fb84816b9 |
---|---|
3 */ | 3 */ |
4 import { | 4 import { |
5 MdButtonModule, MdCardModule, | 5 MdButtonModule, MdCardModule, |
6 MdIconModule, MdListModule, MdProgressBarModule, MdProgressSpinnerModule, | 6 MdIconModule, MdListModule, MdProgressBarModule, MdProgressSpinnerModule, |
7 MdSelectModule, | 7 MdSelectModule, |
8 MdSidenavModule, | 8 MdSidenavModule, MdSnackBarModule, |
9 MdToolbarModule | 9 MdToolbarModule |
10 } from '@angular/material'; | 10 } from '@angular/material'; |
11 import {NgModule} from '@angular/core'; | 11 import {NgModule} from '@angular/core'; |
12 import {BrowserAnimationsModule} from '@angular/platform-browser/animations'; | 12 import {BrowserAnimationsModule} from '@angular/platform-browser/animations'; |
13 | 13 |
19 MdButtonModule, | 19 MdButtonModule, |
20 MdSelectModule, | 20 MdSelectModule, |
21 MdProgressSpinnerModule, | 21 MdProgressSpinnerModule, |
22 MdProgressBarModule, | 22 MdProgressBarModule, |
23 MdCardModule, | 23 MdCardModule, |
24 MdListModule | 24 MdListModule, |
25 MdSnackBarModule | |
25 ]; | 26 ]; |
26 | 27 |
27 @NgModule({ | 28 @NgModule({ |
28 imports: importExports, | 29 imports: importExports, |
29 exports: importExports, | 30 exports: importExports, |