Sleep

A simple Vue.js part for fullscreen

.vue-fullscreen.You may utilize a simple Vue.js element to toggle fullscreen method on some of your desired information.You may find it live here.Example.To start collaborating with vue-fullscreen make use of the following demand to install it.$ anecdote include vue-fullscreen.Import in your task.bring in fullscreen from 'vue-fullscreen'.Vue.use( fullscreen).Element Utilization:.Your Web content to present in fullscreen.......The history style of the cover can be modified as the instance, simply offered when fullscreen setting gets on and wrap is true. It may be additionally used as a component and also as a plugin. All the offered techniques and also occasions are on the plugin's web page.export default techniques: toggle () this.fullscreen =! this.fullscreen.,.information() profit fullscreen: misleading.Caution: Because of the browser protection function, you can simply phone these strategies by a user gesture. (e.g. a click callback). To ensure it is supported by web browsers go to the Full-Screen API.If you would like to discover additional concerning vue-fullscreen, head to the project's storehouse on GitHub, where you are going to additionally find the resource code.