1.0.7 • Published 7 years ago

vue-msgbox-micro v1.0.7

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

Introduction

a msgbox plugin for vue.

Useage

It's simple.

    //first import plugin

    import VueMsgbox from 'vue-msgbox-micro'

    //and register the plugin on vue.

    Vue.use(VueMsgbox)

    //last , you can call it .

    this.$Msgbox.showSuccess('提交成功', function(){
        console.log('提交成功');
    });

    this.$Msgbox.showFailure('提交失败');

    this.$Msgbox.showAlert('密码不能为空!');

    this.$Msgbox.showConfirm('确定提交吗', function(){
        console.log('确认提交');
    },function(){
        console.log('取消提交');
    });
1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago