Sleep

A straightforward Vue.js component for fullscreen

.vue-fullscreen.You can easily make use of a straightforward Vue.js element to toggle fullscreen mode on any one of your wanted content.You may see it live below.Example.To start working with vue-fullscreen use the observing command to mount it.$ anecdote include vue-fullscreen.Import in your job.import fullscreen from 'vue-fullscreen'.Vue.use( fullscreen).Part Usage:.Your Content to show in fullscreen.......The history design of the cover could be transformed as the example, simply accessible when fullscreen method performs as well as wrap is true. It could be additionally used as a part and as a plugin. All the accessible strategies and also occasions perform the plugin's page.export nonpayment strategies: toggle () this.fullscreen =! this.fullscreen.,.data() gain fullscreen: incorrect.Vigilance: Because of the browser security functionality, you can just get in touch with these procedures by a user gesture. (e.g. a hit callback). To make sure it is actually reinforced through browsers visit the Full-Screen API.If you wish to check out additional concerning vue-fullscreen, head to the project's database on GitHub, where you will definitely likewise discover the resource code.

Articles You Can Be Interested In