Constructor
new CompletePanel(act, ps, $divopt)
CompletePanel constructor
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
| act | module:Activity. | The  | |
| ps | module:JClicPlayer. | Any object implementing the methods defined in the | |
| $div | external:jQuery | <optional> | The jQuery DOM element where this Panel will deploy | 
Extends
- module:activities/text/TextActivityBasePanel.TextActivityBasePanel
Methods
$createTargetElement(_target, _$span) → {external:jQuery}
Creates a target DOM element for the provided target.
Parameters:
| Name | Type | Description | 
|---|---|---|
| _target | module:activities/text/TextActivityDocument. | The target related to the DOM object to be created | 
| _$span | external:jQuery | 
 | 
Returns:
- The jQuery DOM element loaded with the target data.
- Type:
- external:jQuery
evaluatePanel() → {boolean}
Evaluates all the targets in this panel. This method is usually called from the Check button.
Returns:
- truewhen all targets are OK,- falseotherwise.
- Type:
- boolean
finishActivity(result)
Ordinary ending of the activity, usually called form processEvent
Parameters:
| Name | Type | Description | 
|---|---|---|
| result | boolean | 
 | 
startActivity()
Called when the activity starts playing