Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-toastification

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-toastification

Toasts for Vue made easy!

  • 1.7.14
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
144K
increased by6.33%
Maintainers
1
Weekly downloads
 
Created

What is vue-toastification?

vue-toastification is a Vue.js library for creating customizable and easy-to-use toast notifications. It provides a simple API for displaying notifications with various options for styling, positioning, and behavior.

What are vue-toastification's main functionalities?

Basic Toast

This feature allows you to display a basic toast notification with a simple message.

import { useToast } from 'vue-toastification';
import 'vue-toastification/dist/index.css';

const toast = useToast();

toast('This is a basic toast message!');

Custom Toast

This feature allows you to display a toast notification with custom options such as position, timeout, and behavior settings.

import { useToast } from 'vue-toastification';
import 'vue-toastification/dist/index.css';

const toast = useToast();

toast('This is a custom toast message!', {
  position: 'bottom-right',
  timeout: 5000,
  closeOnClick: true,
  pauseOnHover: true,
  draggable: true,
  draggablePercent: 0.6,
  showCloseButtonOnHover: false,
  hideProgressBar: false,
  closeButton: 'button',
  icon: true,
  rtl: false
});

Toast with Component

This feature allows you to display a toast notification using a custom Vue component, providing more flexibility and customization.

import { useToast } from 'vue-toastification';
import 'vue-toastification/dist/index.css';
import CustomComponent from './CustomComponent.vue';

const toast = useToast();

toast({
  component: CustomComponent,
  props: {
    message: 'This is a toast with a custom component!'
  }
});

Other packages similar to vue-toastification

Keywords

FAQs

Package last updated on 18 Oct 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc