1.0.0 • Published 7 years ago

mdtoast-service v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

mdtoast-service

This is simple angular service for handling success and error toast messages

Example success toast message

   toasterService.success('Data loaded!');

Example error toast message

   toasterService.error('Error while loading data!');

Install via bower

bower install mdtoast-service

Install via npm

npm install mdtoast-service

usages

include following css and js files into you html file

 <link rel='stylesheet' href="/bower_components/mdtoast-service/dist/mdtoast-service.min.css">
 
 <script type="text/javascript" src="/bower_components/mdtoast-service/dist/mdtoast-service.min.js"></script>