koco-toastr
v1.4.4
Published
koco component for toastr ui
Downloads
17
Readme
koco-toastr
Toastr wrapper for use in a KOCO project. It includes styles to match the bootstrap aesthetic.
Installation
bower install koco-toastrUsage with KOCO
This is a shared module that is used in many other modules. It includes the toastr library as a bower dependency. The convention is to configure an alias in the require.configs.js with the name bootstrap-toastr like so:
paths: {
...
'bootstrap-toastr': 'bower_components/koco-toastr/src/koco-toastr-ui',
'toastr': 'bower_components/toastr/toastr',
...
}You will also need to import the styles into less/styles.less:
// Components
@import "../bower_components/koco-toastr/src/koco-toastr.less";
@import "../bower_components/toastr/toastr.less";
...
