Sleep

An easy Vue.js part for fullscreen

.vue-fullscreen.You may use a simple Vue.js part to toggle fullscreen method on some of your desired web content.You may find it live right here.Example.To start collaborating with vue-fullscreen make use of the observing command to install it.$ anecdote add vue-fullscreen.Import in your project.import fullscreen from 'vue-fullscreen'.Vue.use( fullscreen).Part Use:.Your Web content to display in fullscreen.......The history type of the wrapper may be changed as the example, only on call when fullscreen mode gets on and wrap holds true. It could be likewise made use of as an element and as a plugin. All the available techniques and events get on the plugin's web page.export default techniques: toggle () this.fullscreen =! this.fullscreen.,.information() profit fullscreen: misleading.Caution: As a result of the internet browser safety functionality, you can just phone these strategies through a user motion. (e.g. a click on callback). To see to it it is held by browsers go to the Full-Screen API.If you wish to explore additional about vue-fullscreen, scalp to the task's storehouse on GitHub, where you will definitely likewise discover the source code.