1.0.4 • Published 6 years ago

h-toast v1.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

h-toast

vue.js 移动端 alert 组件

Demo | Example

使用方法

options:

  {
    txt: "",          // 提示文字
    style: "",        // 样式
    duration: 1000    // 延时,默认1000, 为0时,不消失
  }
  var Toast = require('h-toast');
  Vue.use(Toast);

Basic use:

  vm.$toast('提示信息内容');

  vm.$toast({
    txt: "this is red Toast",
    duration: 2000,
    style: "background-color: rgba(0,0,0,.8)"
  });
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