vue-browser-window
Control your window the Vue way!
Usage
Installation
Using yarn
yarn add vue-browser-window
Using npm
npm i --save vue-browser-window
Usage
First import the component:
;
Add it to you vue model
components: BrowserWindow: VueBrowserWindow
Finally, wrap you app with the component
Summary:
Last event: {{ event }}
From: demo/src/App.vue
Todo
- Support all window events
Do not hesitate to submit your request for a new feature or a change, or directly a PR! Help is greatly appreciated!
License
This project is licensed under MIT License