Skip to content

a plugin used in old version, tells users that they need to update their hybrid APP

License

Notifications You must be signed in to change notification settings

flyer2311/updateTip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

updateTip

a plugin used in old version, tells users that they need to update their hybrid APP

Download

npm install @flyer2311/vue-sm-update-tip --save

Function

  1. support update title and content by yourself
  2. support update color and fontsize
  3. lock width and height
  4. provide anther api for show the plugin

Environment

  1. VUE(install CLI)
  2. 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()

About

a plugin used in old version, tells users that they need to update their hybrid APP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published