Angular web notifier demo page (dart version)
- First step import
notifier.ts
file in the /src/ directory
import { Notifier } from "./notifier";
- and import notifier.css file (/src/assets/)
index.html
<link rel="stylesheet" href="assets/notifier.css">
sendNotifier(String type, String title, String content, int duration): void{
Notifier(type, title, content, duration).show();
}
Notifier('info', 'title', 'content here', 1000).show();
- type -> 'success', 'info', 'todo', 'reminder', 'warning' and 'danger' select one of them,
- duration int milliseconds
For Angular Angular
For Dartlang please visit Dartlang and Github repo,
For AngularDart AngularDart and Github
I love Dart
Our project is, without any discrimination, open to anyone who is willing to make a contribution!
Our project is licensed under MIT license.