tool_lp/competencydialogue

Description:
  • Display Competency in dialogue box.

Source:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Display Competency in dialogue box.

Methods

(static) init()

Description:
  • Initialise the competency dialogue module.

    Only the first call matters.

Source:

(inner) clickEventHandler(e)

Description:
  • The action on the click event.

Source:
Parameters:
Name Type Description
e Event

event click

(inner) getCompetencyDataPromise(competencyid, options) → {Promise}

Description:
  • Get a promise on data competency.

Source:
Parameters:
Name Type Description
competencyid Number
options Object
Returns:

return promise on data request

Type
Promise

(inner) showDialogue(competencyid, options)

Description:
  • Display a dialogue box by competencyid.

Source:
Parameters:
Name Type Description
competencyid Number

The competency ID.

options Object

The options.

(inner) showDialogueFromData(dataSource)

Description:
  • Display a dialogue box from data.

Source:
Parameters:
Name Type Description
dataSource Object

data to be used to display dialogue box

(inner) triggerCompetencyViewedEvent(competencyId)

Description:
  • Log the competency viewed event.

Source:
Parameters:
Name Type Description
competencyId Number

The competency ID.