Sleep

A simple Vue.js element for fullscreen

.vue-fullscreen.You can utilize a straightforward Vue.js component to toggle fullscreen setting on any of your preferred material.You can easily find it live here.Example.To begin partnering with vue-fullscreen make use of the adhering to demand to install it.$ anecdote add vue-fullscreen.Import in your job.import fullscreen from 'vue-fullscreen'.Vue.use( fullscreen).Part Consumption:.Your Material to present in fullscreen.......The history style of the cover can be modified as the instance, simply offered when fullscreen mode gets on and also wrap is true. It can be likewise utilized as an element and as a plugin. All the on call strategies as well as celebrations get on the plugin's page.export default methods: button () this.fullscreen =! this.fullscreen.,.records() gain fullscreen: false.Caution: Due to the web browser security function, you may simply phone these techniques through a user motion. (e.g. a click on callback). To see to it it is actually supported through internet browsers check out the Full-Screen API.If you want to explore even more about vue-fullscreen, scalp to the venture's database on GitHub, where you will definitely likewise discover the resource code.