vue-notification-renderless

0.7.3 • Public • Published

Vue Notification Renderless

Lightweight renderless flash message component.

  • WIP - Fits my current use case but is subject to change
  • Provides functionality for stacked notifications but allows you to defined the html & css for layout. See demo for use.
  • Forked from ivalkenburg/vue-flasher initially to allow per message duration, as opposed to a global duration
this.$notification({
  type: 'alert',
  text: 'This is an alert!',
  duration: 5000
});

Demo: https://codesandbox.io/s/88v5v46xl9
Demo – Bootstrap 4 style alert: https://codesandbox.io/s/l42q46jjll

Installation

npm install vue-notification-renderless

then inside your project entry file:

import Vue from 'vue';
import VueNotificationRenderless from 'vue-notification-renderless';

Vue.use(VueNotificationRenderless);

Package Sidebar

Install

npm i vue-notification-renderless

Weekly Downloads

2

Version

0.7.3

License

MIT

Unpacked Size

10.9 kB

Total Files

9

Last publish

Collaborators

  • mpowell-atomic