ActionTransform
Extends:
stream~Transform → ActionTransform
Call models or views according to recived actions.
Test:
Constructor Summary
Public Constructor | ||
public |
constructor(option: object) |
Method Summary
Public Methods | ||
public |
bindActions(target: string, handlers: ActionBinding[]) Bind calback functions to |
Public Constructors
Public Methods
public bindActions(target: string, handlers: ActionBinding[]) source
Bind calback functions to Action
s.
Params:
Name | Type | Attribute | Description |
target | string |
|
The target stream will recive actions. |
handlers | ActionBinding[] |
|
A set of action type and action handlers. |