Sleep

A straightforward Vue.js element for fullscreen

.vue-fullscreen.You may use an easy Vue.js component to toggle fullscreen mode on some of your preferred information.You may find it reside listed below.Example.To start working with vue-fullscreen use the observing order to mount it.$ anecdote add vue-fullscreen.Import in your venture.bring in fullscreen from 'vue-fullscreen'.Vue.use( fullscreen).Element Consumption:.Your Material to display in fullscreen.......The background design of the wrapper could be transformed as the example, merely available when fullscreen setting is on and cover is true. It could be likewise made use of as a part and as a plugin. All the offered techniques and also events get on the plugin's web page.export default methods: button () this.fullscreen =! this.fullscreen.,.records() yield fullscreen: incorrect.Caution: Because of the internet browser safety and security function, you can merely call these procedures by a customer motion. (e.g. a hit callback). To be sure it is actually held by browsers see the Full-Screen API.If you wish to look into more concerning vue-fullscreen, head to the venture's storehouse on GitHub, where you will definitely additionally find the source code.

Articles You Can Be Interested In