Sleep

A basic Vue.js component for fullscreen

.vue-fullscreen.You may utilize a basic Vue.js component to toggle fullscreen mode on any of your wanted web content.You may find it live below.Example.To begin teaming up with vue-fullscreen use the observing command to mount it.$ anecdote add vue-fullscreen.Import in your project.bring in fullscreen from 'vue-fullscreen'.Vue.use( fullscreen).Component Usage:.Your Content to display in fullscreen.......The background style of the wrapper can be altered as the instance, merely on call when fullscreen setting is on and cover holds true. It can be likewise made use of as a part and as a plugin. All the on call procedures and occasions get on the plugin's webpage.export nonpayment techniques: button () this.fullscreen =! this.fullscreen.,.records() yield fullscreen: misleading.Care: As a result of the browser security feature, you can simply phone these approaches by an individual gesture. (e.g. a click on callback). To see to it it is actually supported through browsers go to the Full-Screen API.If you wish to discover more about vue-fullscreen, scalp to the task's repository on GitHub, where you will also locate the source code.