Clean as well as simple alert element for Vue.js #.\n\nvue-yummy-notie.\nPresent clean and easy notifications making use of a component for Vue.js, greatly inspired through Notie.js.\nCheck Out the Live Demo.\nParts are among the absolute most powerful functions of Vue.js. Tasty notie is a component which can help you to sharp users.\n\nExample.\nTo install it in your Vue tasks, given that vue-yummy-notie it is a component rather than a plugin, all you require to carry out is import the element as well as pass choices with props or even vuex.\nThe example was actually put together through vue-cli's webpack theme. You require to import Notification.vue in the component directory in to your job. At that point you can easily regist it and also utilize it in the HTML layout.\nImporting it in your documents.\nimport Notification from '.\/ Alert'.\n\nexport nonpayment {-String.Split- -\nparts: Notification,.\nrecords () {-String.Split- -\nprofit {-String.Split- -\nautoClose: untrue,.\nbackgroundColor: '# 769FCD',.\nbarColor: '# 415f77',.\n\/\/ you can easily make use of HTML to stand for any sort of alert.\ninformation: 'hi there Be notifitied of the notification.',.\n\/\/ showTime: 5000,.\ntextColor: '
fff'.-|-|-|-random-}-|-|-|-random-}-|-|-|-random-}You need to set program = real to init a notification, and likewise pass the material you intend to reveal through establishing 'options'.Show details.methods: notification () this.showNotification = accurate.,.closeNotification () this.showNotification = untrue.Effectively, there it is actually, locate extra on how to utilize it on GitHub.
Articles You Can Be Interested In