The Vue WindowPlugin adds $window and $document DOM objects to each Vue component. This is helpful when accessing the DOM from attribute templates, allowing you to call DOM methods without having to declare a method in your component.
window-plugin on NPM