Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Apr 16, 2024. It is now read-only.

mpowell-atomic/vue-notification-renderless

Open more actions menu
 
 

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%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.