vue-directive-map

1.0.1 • Public • Published

install

    npm install vue-directive-map -S

Usage

main.js

    import Vue from 'vue'
    import App from './App.vue'
    import vueDirective from 'vue-directive-map'
    
    Vue.use(vueDirective)

use drag 弹出框拖拽

    <el-dialog
        title="提示"
        :visible.sync="dialogVisible"
        v-drag
        width="30%">
    </el-dialog>

use countdown

    <el-button type="primary" @click="handleClick" v-countdown>获取验证码</el-button>
key 类型 默认值
time number 60
text string s重新发送
Object
time number
text string

Package Sidebar

Install

npm i vue-directive-map

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

19.5 kB

Total Files

11

Last publish

Collaborators

  • lyh31525972