@flyer2311/vue-sm-update-tip
v1.0.0
Published
a plugin used in old version, tells users that they need to update their hybrid APP ## Download ~~~cmd npm install @flyer2311/vue-sm-updateTip --save ~~~ ## Function 1. support update title and content by yourself 1. support update color and fonts
Downloads
2
Readme
updateTip
a plugin used in old version, tells users that they need to update their hybrid APP
Download
npm install @flyer2311/vue-sm-updateTip --save
Function
- support update title and content by yourself
- support update color and fontsize
- lock width and height
- provide anther api for show the plugin
Environment
- VUE(install CLI)
- better-scroll
Basic instructions
请看./example/example.vue的例子
Inner construction
this.flyerUpdateTip.init({
show: true,
title: {
text: '123',
color: '#000',
fontSize: '20px'
},
content: {
text: [1, 2, 3],
color: '#000',
fontSize: '18px'
}
})
this.flyerUpdateTip.show()
this.flyerUpdateTip.hide()