vue-model-box is a mobile model box plugin for vue.js.
First, install vue-model-box
from npm:
$ npm install vue-model-box
Then use it:
// ES6 mudule
import ModelBox from 'vue-model-box/src/modelBox';
Option | Description | Value | Default |
---|---|---|---|
title | model-box title | String | '提示' |
message | message show | String | |
buttonText | botton text | String | '确定' |
@modelBoxClicked | clicked botton event |
MIT