1.0.4 • Published 6 years ago

smart-modal v1.0.4

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

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');
  }
}
1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago