Sleep

A basic Vue.js component for fullscreen

.vue-fullscreen.You can use an easy Vue.js component to toggle fullscreen method on some of your desired web content.You can easily observe it reside here.Example.To begin dealing with vue-fullscreen make use of the observing demand to mount it.$ yarn add vue-fullscreen.Import in your task.import fullscreen from 'vue-fullscreen'.Vue.use( fullscreen).Component Usage:.Your Content to feature in fullscreen.......The background type of the wrapper can be changed as the example, only offered when fullscreen setting gets on as well as cover is true. It can be additionally utilized as a part and as a plugin. All the accessible methods as well as celebrations are on the plugin's page.export default strategies: button () this.fullscreen =! this.fullscreen.,.records() yield fullscreen: untrue.Caution: Due to the browser security function, you can merely get in touch with these procedures by a consumer action. (e.g. a click callback). To be sure it is actually supported through web browsers go to the Full-Screen API.If you would like to explore more concerning vue-fullscreen, scalp to the project's repository on GitHub, where you will definitely additionally find the resource code.