Members
activity :string
Name of the Activity
pointed by this element.
- string
backJump :module:bags/ActivitySequenceJump.ActivitySequenceJump
Jump to be processed by the 'prev' button action.
delay :number
Time delay (in seconds) before passing to the next/prev activity
- number
description :string
Optional description of this sequence element.
- string
fwdJump :module:bags/ActivitySequenceJump.ActivitySequenceJump
Jump to be processed by the 'next' button action
navButtons :string
What buttons should be active at this point of the sequence. Valid values are:
- 'none'
- 'fwd'
- 'back'
- 'both'
- string
tag :string
Optional unique identifier of this element in the ActivitySequence
.
- string
Methods
getAttributes() → {object}
Gets a object with the basic attributes needed to rebuild this instance excluding functions,
parent references, constants and also attributes retaining the default value.
The resulting object is commonly usued to serialize elements in JSON format.
- The resulting object, with minimal attrributes
- Type:
- object
setAttributes(data)
Loads sequence element settings from a data object
Name | Type | Description |
---|---|---|
data | object |
setProperties($xml)
Loads the object settings from a specific JQuery XML element
Name | Type | Description |
---|---|---|
$xml | external:jQuery |