APIs

Show:

Class for object describing dynamic action, which can be binded to component, consuming it's inner structure as JSON-object or Ember-object, if component uses dynamic-actions mixin.

Properties

actionArguments

Any

Additional arguments which will be added in the beginning of arguments array of {{#crossLink "DynamicActionObject/actionHandler:property"}}given action handler{{/crossLink}}, and in the beginning of arguments array of action with the {{#crossLink "DynamicActionObject/actionName:property"}specified name{{/crossLink}}.

Default: null

actionContext

Object

Action handler's context. Will be used as a context for the {{#crossLink "DynamicActionObject/actionHandler:property"}}given action handler{{/crossLink}}, and as an owner for action with the {{#crossLink "DynamicActionObject/actionName:property"}specified name{{/crossLink}}.

Default: null

actionHandler

Function

Handler (callback) for the component's action specified in {{#crossLink "DynamicActionObject/on:property"}}'on'{{/crossLink}} property. Will be called with {{#crossLink "DynamicActionObject/actionContext:property"}given context{{/crossLink}} (if context is defined).

Default: null

actionName

String

Name of the action existing in {{#crossLink "DynamicActionObject/actionContext:property"}given context{{/crossLink}} which will be triggered when component sent it's action specified in {{#crossLink "DynamicActionObject/on:property"}}'on'{{/crossLink}} property.

Default: null

on

String

Name of component's action which will play a trigger role for the specified {{#crossLink "DynamicActionObject/actionHandler:property"}}handler{{/crossLink}}, or/and for {{#crossLink "DynamicActionObject/actionContext:property"}given context's{{/crossLink}} action with the {{#crossLink "DynamicActionObject/actionName:property"}specified name{{/crossLink}}.

Default: null