vue-phone
vue phone container, analog mobile demonstration
Usage
# installnpm install --save vue-phone
hello world
// Initialize parameter Option Type Default Description width string,number 375 container's width height string,number 667 container's height device boolean true device the browser environment,hide container in the mobile terminal signal string,number 3 signal strength battery string,number 100 The battery remaining background string '' phone's background
// API / Parents-Event Method Parameters Description Example home - click home button phone.$on('home', function(){console.log('back home')})
Have better ideas?
Please tell me your options: https://github.com/thomasyxy/vue-phone/issues/1
submit BUG
You can be submitted here, and i will be dealt with as soon as possible: https://github.com/thomasyxy/vue-phone/issues/2