vue-easily-notify
0.1.2 • Public • Published Vue.js notifications, automatically adapt PC and mobile.
Demo: To be added.
Github: To be added.
Install
npm install --save vue-easily-notify
How to
In main.js:
import Vue from 'vue'
import Notifications from 'vue-easily-notify'
Vue.use(Notifications)
In any of your vue files:
this.$hnotify.success({
text: 'success !',
mode: 'root'
});
this.$hnotify.info({
text: 'info !',
mode: 'root'
});
this.$hnotify.warnning({
text: 'warnning !',
mode: 'root'
});
this.$hnotify.error({
text: 'error !',
mode: 'root'
});
API
this.$hnotify({
root: '',
text: 'This is content '
})
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads