Sleep

An easy Vue.js element for fullscreen

.vue-fullscreen.You can utilize a straightforward Vue.js part to toggle fullscreen method on any one of your intended web content.You can view it reside here.Example.To begin working with vue-fullscreen use the adhering to order to mount it.$ yarn add vue-fullscreen.Import in your project.bring in fullscreen from 'vue-fullscreen'.Vue.use( fullscreen).Part Use:.Your Information to show in fullscreen.......The background type of the cover can be transformed as the example, only on call when fullscreen mode is on as well as wrap holds true. It may be additionally utilized as a part and as a plugin. All the offered methods and activities get on the plugin's page.export default strategies: toggle () this.fullscreen =! this.fullscreen.,.information() gain fullscreen: misleading.Caution: Because of the web browser safety and security function, you can only call these procedures by a consumer action. (e.g. a hit callback). To be sure it is supported by browsers check out the Full-Screen API.If you would like to explore additional regarding vue-fullscreen, scalp to the project's storehouse on GitHub, where you will additionally discover the resource code.