TargetActionSupport

Ember.TargetActionSupport Class

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.

doc_EmberJs
2016-11-30 16:53:31
Comments
Leave a Comment

Please login to continue.