https://github.com/rmhubbert/vue-ubi-notify
A toast / snackbar / notification plugin for Vue 2.6+ with built in support for Bootstrap, Bulma, Materialize, Semantic UI & TailwindCSS
https://github.com/rmhubbert/vue-ubi-notify
bootstrap bulma materializecss notification semantic-ui tailwindcss toast vue vuejs2
Last synced: about 1 month ago
JSON representation
A toast / snackbar / notification plugin for Vue 2.6+ with built in support for Bootstrap, Bulma, Materialize, Semantic UI & TailwindCSS
- Host: GitHub
- URL: https://github.com/rmhubbert/vue-ubi-notify
- Owner: rmhubbert
- License: mit
- Created: 2019-08-11T20:42:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-23T16:12:49.000Z (over 5 years ago)
- Last Synced: 2024-04-25T07:21:16.649Z (about 1 year ago)
- Topics: bootstrap, bulma, materializecss, notification, semantic-ui, tailwindcss, toast, vue, vuejs2
- Language: JavaScript
- Homepage: https://rmhubbert.github.io/vue-ubi-notify/
- Size: 601 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## UNMAINTAINED: Vue-Ubi-Notify
A toast / snackbar / notification plugin for Vue 2.6+ with built in support for Bootstrap, Bulma, MaterializeCSS, Semantic UI & TailwindCSS.
## Installation
NPM
```
npm install vue-ubi-notify
```Yarn
```
yarn add vue-ubi-notify
```## Usage
The easiest way to get up and running is via the configuration builder in [the demo app](https://rmhubbert.github.io/vue-ubi-notify).
Once you've done that, simply call the \$notify method from within your Vue instance.
Message types can be either "default", "primary", "success", "warning" or "danger".
Duration should be in milliseconds.
```
this.$notify(messageBody, messageHeading = null, messageType = null, duration = null);
```## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.