New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

smart-modal

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smart-modal

this is modal plugin

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

this is a modal plugin

Simple to use,highly customizable

Install

npm install smart-modal --save

How to use?

1.basic useage

1.in your main.js

import modal from "smart-modal"

vue.use(modal)

2.in your component

<modal name="myModal">hello,world</modal>

methods: {
  show () {
    this.$modal.show('myModal');
  },
  hide () {
    this.$modal.hide('myModal');
  }
}

Keywords

modal

FAQs

Package last updated on 19 Jun 2018

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