Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
vue-mdl-snackbar
Advanced tools
Readme
Use this.$notify(message)
to throw a snackbar notification from anywhere in your Vue app!
Note: this plugin requires that you have the Material Design Lite stylesheet and script in your application.
Copy and paste this snippet into your application (hint: I made it a Snackbar.vue component)
<div id="snackbar-notification" class="mdl-js-snackbar mdl-snackbar">
<div class="mdl-snackbar__text"></div>
<button class="mdl-snackbar__action" type="button"></button>
</div>
Import VueSnackbar into your main.js file
import VueSnackbar from 'vue-mdl-snackbar'
Install the plugin by running the following in your main.js:
Vue.use(VueSnackbar, '#snackbar-notification')
Run the following on any component to push a snackbar notification
this.$notify(message)
FAQs
An MDL Snackbar plugin for Vue.
The npm package vue-mdl-snackbar receives a total of 9 weekly downloads. As such, vue-mdl-snackbar popularity was classified as not popular.
We found that vue-mdl-snackbar demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.