Vue dismiss is a simple, reusable directive for executing closing logic when something outside component element is clicked or when escape key is pressed. Applicable to dropdowns, modals and other types of menus. Weighs less then 1KB.
Click outside this element or press escape key to close dropdown.