Module: standardPlayer/PageContext

A page is the representation of an E-Learning step.
This context methods to handle events in the page scope.

Members

<inner> event :Object

This object provides methods to handle events in the page scope.

To handle the differences between standard and HTML5 player, it is recommended
to take note of the following example.

Type:
  • Object
See:
Example
onCallback: function (dataTHML5, dataHTML4) {
    var data = dataHTML4 || dataTHML5;
    […]
}

<inner> group :Object

This object provides methods to component groups.

Type:
  • Object
See:

<inner> interaction :Object

This object provides methods to handle interaction functionality.

Type:
  • Object
See:

<inner> quiz :Object

This object provides methods to use components as test objects.

Type:
  • Object
See:

Methods

<inner> getCommentHTML() → {string}

Gets the comment of the page.

Returns:

The comment html content of the page.

Type
string