You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Animations have been added and explicit animation configuration is now
required for the library. ClosesStabzs#95.
- angular2-toaster is now compiled with the strictNullChecks flag on by
default.
- tslint added to support cleaning up the overall style of the library.
- The elvis operator has been added to titleClass and messageClass
toasterconfig property bindings in order to allow the library to be
consumed by Ahead of Time compilation utilizing the "strictNullChecks:
true" configuration. ClosesStabzs#111.
- Cleaned up the webpack demo and added a simple angular-cli demo.
Angular Animations require [browsers](http://caniuse.com/#feat=web-animation) that support the [Web Animations Standard](https://w3c.github.io/web-animations/).
242
+
243
+
If you need to target a non-supported browser, a [polyfill](https://github.com/web-animations/web-animations-js) is required.
244
+
245
+
200
246
# Configurable Options
247
+
### Animations
248
+
There are five animation styles that can be applied via the toasterconfig `animation` property:
249
+
'fade', 'flyLeft', 'flyRight', 'slideDown', and 'slideUp'. Any other value will disable animations.
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.0.0.
4
+
5
+
## Development server
6
+
7
+
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
8
+
9
+
## Code scaffolding
10
+
11
+
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive/pipe/service/class/module`.
12
+
13
+
## Build
14
+
15
+
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.
16
+
17
+
## Running unit tests
18
+
19
+
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
20
+
21
+
## Running end-to-end tests
22
+
23
+
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
24
+
Before running the tests make sure you are serving the app via `ng serve`.
25
+
26
+
## Further help
27
+
28
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
0 commit comments