px-vue-alert
vue-alert module
1,217
| Install | |
|---|---|
npm install px-vue-alert |
|
| Latest Version: | 0.1.7 |
| Vue: | 2 |
| License: | ISC |
| Last Updated: | Jan 5, 2023 |
| Links: | GitHub · npm |
Maintainer: eduardolagoeiro
vue-alert
vuex required
install
npm i px-vue-alert
add in main.js
import PxVueAlert from 'px-vue-alert'
Vue.use(PxVueAlert, { store })
add in app.vue
template
<template>
<div id="app">
<router-view/>
<px-block-page spinnerImageSrc="./icone_transparente.png"/>
<px-toast-notify/>
</div>
</template>
style
<style src="../node_modules/px-vue-alert/dist/px-vue-alert.css"></style>
block ui actions:
- toggleLoading({ message })
- blockMessage({ message, icon, type, delay })
notifications actions:
- success (message)
- error (message)
clear all action:
- clear ()
Related Packages
vue-toastfic
**vue-toastfic** is a simple and customizable toast notification library for Vue...
769
9
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.1.7 | ^2.6.10 | ISC | |
| 0.1.5 | ^2.6.10 | ISC | |
| 0.1.4 | ^2.6.10 | ISC | |
| 0.1.3 | ^2.6.10 | ISC | |
| 0.1.2 | ^2.6.10 | ISC | |
| 0.1.1 | ^2.6.10 | ISC | |
| 0.1.0 | ^2.6.10 | ISC |