Sleep

A basic Vue.js component for fullscreen

.vue-fullscreen.You can make use of a basic Vue.js part to toggle fullscreen setting on any one of your desired material.You may find it live right here.Example.To start partnering with vue-fullscreen make use of the following demand to install it.$ yarn add vue-fullscreen.Import in your venture.import fullscreen coming from 'vue-fullscreen'.Vue.use( fullscreen).Component Consumption:.Your Information to feature in fullscreen.......The history design of the cover could be modified as the instance, just accessible when fullscreen setting performs and also wrap holds true. It could be additionally made use of as a component and also as a plugin. All the readily available strategies as well as activities perform the plugin's webpage.export default methods: button () this.fullscreen =! this.fullscreen.,.data() profit fullscreen: incorrect.Caution: Due to the browser safety and security function, you may simply call these strategies through a consumer action. (e.g. a click callback). To make certain it is actually reinforced by internet browsers visit the Full-Screen API.If you would like to explore more regarding vue-fullscreen, head to the project's database on GitHub, where you are going to additionally discover the resource code.