v-keydown-outside

Keyboards are boards of keys. People tend to poke at them with boney sausages. This event triggers when the keys go DOWN.

(Hint: Put your cursor in a text input and use your fingers to poke the keyboard keys down. For a challenge, try using your tongue.)

v-keydown-outside example

		

		<script>
			export default {
				methods: {
					onKeydownOutside(e, el) {
						console.log("onKeyDownOutside");
						console.log("Event:", e);
						console.log("Element focus was given to:", e.target);
						console.log("Element wishing you were poking it instead:", el);
					}
				}
			}
		</script>