Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

mpowell-atomic/vue-notification-renderless

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%