If you thought the submit event got fired from a submit button, you'd be embarrassingly wrong. It fires from the form that was submitted.
(Hint: In this totally real-world example, submit the many forms on this page by clicking the buttons scattered around.)
<script>
export default {
methods: {
onSubmitOutside(e, el) {
console.log("onSubmitOutside");
console.log("Event:", e);
console.log("Form that was submitted:", e.target);
console.log("Element totally into submission:", el);
}
}
}
</script>