bridge-vue-notification
v1.1.2
Published
A notification component for vuejs
Downloads
4
Readme
Bridge Vue Notifications
Demonstration
https://bridge-notification.netlify.app
Getting started
npm install --save bridge-vue-notification
Basic usage
// main.js:
import Vue from "vue";
Vue.use(require("bridge-vue-notification"));
// In App.vue:
<div id="app">
<bridge-notify />
...
...
</div>
<script>
export default {
methods:{
show(){
this.$notify({
message: "Bridge Notification is Awesome 😍",
duration: 3000,
position: 'center',
animate: {
x: 0,
y: 330,
},
});
}
}
}
</script>
<button @click="show">Show Notification</button>