Action

Action

Refer to DALS.Timeline for the encapsulating element, as DALS.Action is stored after the head state ([0]) of a DALS.Timeline .value.

Represents a state mutation that changes the head state, from which a new relative state can be computed.

Constructor:
Instance:
  • .id=Class.generateRandomID(DALS.Action): string
  • .options: Object - Reference variable to json.options.
  • .name="New Action": string - Reference variable to json.options.name.
  • .timeline: string
  • .value: Object - The parsed JSON object contained within the object.
Methods:
  • delete(arg0_options:{ removed_from_timeline:boolean }) - Deletes the present action and removes it from the associated timeline.
  • jumpTo() - Forces program state to jump to the present action.
Static Fields:

Constructor

new Action()

Source:

Members

instances :Array.<DALS.Action>

Source:
Type:

Methods

delete(arg0_optionsopt)

Deletes the present action and removes it from the associated timeline.

Source:
Parameters:
Name Type Attributes Description
arg0_options Object <optional>
Name Type Attributes Default Description
removed_from_timeline boolean <optional>
false

jumpTo()

Forces the current program state to jump to this DALS.Action.

Source: