Vue.js allow apply event on element: <div id="app"> <button @click="play()">Play</button> </div> But how to apply event on window object? it is not in DOM. for example: <div id="app"> <div @mousedown="startDrag()" @mousemove="move($event)">Drag me</div> </div> in this example, how to listen mousemove event on window ?