You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
HerrHase 4b04ac77fe
2 years ago
example adding 2 years ago
src adding 2 years ago
.gitignore Initial commit 2 years ago adding 2 years ago
mix-manifest.json adding 2 years ago
package-lock.json adding 2 years ago
package.json adding 2 years ago
webpack.mix.js adding 2 years ago

Tiny Components - Notification

Created with Riot.js

Handle notification by using Plain-UI and Observable


npm install @tiny-components\notification --save

You can use it like this

Add to your App once, don't forget to register and mount,


Call function anywhere, to run through the store and display a notification.

import notificationStore from './@tiny-components/notification/src/notificationStore.js'
notificationStore.danger('Error! Something is wrong')


attribute description values
wrapper-class Position for notification to show toast-wrapper--right, toast-wrapper--top
timeout How long notifications show up in ms