docs: function sendAction(eventName, view, event) {
      var action = _emberMetalProperty_get.get(view, 'attrs.' + eventName) || _emberMetalProperty_get.get(view, eventName);
      var on = _emberMetalProperty_get.get(view, 'onEvent');
      var value = _emberMetalProperty_get.get(view, 'value');
  
      // back-compat support for keyPress as an event name even though
      // it's also a method name that consumes the event (and therefore
      // incompatible with sendAction semantics).
      if (on === eventName || on === 'keyPress' && eventName === 'key-press') {
        view.sendAction('action', value);
      }
  
      view.sendAction(eventName, value);
  
      if (action || on === eventName) {
        if (!_emberMetalProperty_get.get(view, 'bubbles')) {
          event.stopPropagation();
        }
      }
    }