Handling DOM events with Ember

Every Ember.Component can react to native DOM events by adding a method with the same name as the event (i.e. submit) so you should reserve such names only for native DOM event handlers.

Quick example on ember-twiddle:

export default Ember.Component.extend({
  submit(e) {
    alert("I'm native DOM event");