Ember.TargetActionSupport Class packages/ember-runtime/lib/mixins/target_action_support.js:12
PRIVATE
Extends: Ember.Mixin
Defined in: packages/ember-runtime/lib/mixins/target_action_support.js:12
Module: ember-runtime
Ember.TargetActionSupport
is a mixin that can be included in a class
to add a triggerAction
method with semantics similar to the Handlebars
{{action}}
helper. In normal Ember usage, the {{action}}
helper is
usually the best choice. This mixin is most often useful when you are
doing more complex event handling in View objects.
See also Ember.ViewTargetActionSupport
, which has
view-aware defaults for target and actionContext.