v-change-outside

Change comes from within, but in this demo we're wanting to find the change that happens outside.

(Hint: Type some text in a text input and then leave it to trigger the change event.)

v-change-outside example

		

		<script>
			export default {
				methods: {
					onChangeOutside(e, el) {
						console.log("onChangeOutside");
						console.log("Event:", e);
						console.log("Element changed:", e.target);
						console.log("Element looking for the next Obama:", el);
					}
				}
			}
		</script>