This class is responsible for dispatching behavioural actions and side effects. It also keeps the information of
registered physical actions, behavioural actions and side effects. Also, it keeps the map of physical and behavioural
actions and behavioural actions and side effects. Whenever any behavioural action is dispatched, it also propagates
the rows which got affected to the other datamodels. This class is initialized by VisualUnit and legend to
manage it's interaction.
- Source:
Methods
bindActionWithBehaviour(action, target, behaviourList) → {FireBolt}
Binds a target element with an action.
Parameters:
Name | Type | Description |
---|---|---|
action |
function | Action method |
target |
string | Class name of element |
behaviourList |
Array | Array of behaviours |
- Source:
Returns:
Instance of firebolt
- Type
- FireBolt
getEntryExitSet(behaviour) → {Object}
Returns the entry and exit set information of the specified behavioural action.
Parameters:
Name | Type | Description |
---|---|---|
behaviour |
string | Name of behavioural action. |
- Source:
Returns:
Entry exit set information.
- Type
- Object
mapActionsAndBehaviour() → {Firebolt}
Map actions and behaviours
- Source:
Returns:
Firebolt instance
- Type
- Firebolt
propagateWith(action, fields, append) → {Firebolt}
Allows to propagate the datamodel with only the supplied fields. When propagation is done, then the fields
which are supplied for the specified behavioural action is propagated.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
action |
string | Name of behavioural action. If '*' is specified, then for all behavioural actions it is applied. | |
fields |
Array | Array of field names which will be propagated. | |
append |
boolean | false | If true, then it is appended to the existing propagation data model fields else only those fields are projected from propagation data model and propagated. |
- Source:
Returns:
Instance of firebolt
- Type
- Firebolt