smv-modal

0.12.5 • Public • Published

smv modal

use modal with no tear 😂

Travis branch coverage download version license

Get Start

Installation

npm i --save smv-modal

Basic Usage

try it out

Edit Vue Template

import Modal from 'smv-modal';
 
const modal = Modal({
  title: 'Welcome',
  content: 'hallo world~'
});
 
async showModal() {
  const result = await modal.show(); // modal.show() return promise
  console.log(result);
}
 
showModal();

Please see Documentation for more usage.

Contributors

Thanks goes to these wonderful people (emoji key):


hwencc

💻 🤔 💡 📖

This project follows the all-contributors specification. Contributions of any kind welcome!

Package Sidebar

Install

npm i smv-modal

Weekly Downloads

2

Version

0.12.5

License

MIT

Unpacked Size

41.6 kB

Total Files

30

Last publish

Collaborators

  • hwen