1.1.0 • Published 5 years ago

scirichon-message v1.1.0

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

一个基于VUE 的消息提示

  • message @1.0.0

使用

npm install scirichon-message -D
// 在vue入口文件main.js中

import scirichonMessage from 'scirichon-message'

Vue.use(scirichonMessage, {delay: 3000})
// 直接在页面中使用

this.$message({
  type: 'success',
  text: '你好!',
  delay: 5000,
  style: {
      width: '500px',
      textAlign: 'center'
    }
})

####支持

// 附加参数中支持的字段
type: String
  支持的值:'success' || 'warning' || 'info' || 'error'
text: String
  支持的值:任意文本
delay: Number
  支持的值:大于0的数字
style: Object
  支持的值:所有css支持的样式(使用驼峰命名法)

最后

  • 鸣谢
  • 感谢大家使用,如遇什么问题请及时反馈(邮箱:1060754972@qq.com),谢谢
  •                                                      2018.11.13
1.1.0

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago