koco-toastr

1.4.4 • Public • Published

koco-toastr

Toastr wrapper for use in a KOCO project. It includes styles to match the bootstrap aesthetic.

Installation

bower install koco-toastr

Usage 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";
...
 

Readme

Keywords

Package Sidebar

Install

npm i koco-toastr

Weekly Downloads

2

Version

1.4.4

License

MIT

Last publish

Collaborators

  • ozakaria-rc
  • rcguillaume
  • adruffin-rc
  • pubach
  • hugo.leclerc
  • laurentlbm-rc
  • clarose
  • vietsrc
  • matstlo
  • fcharest
  • rcmax