tool_lp/competencyselect

Handle selection changes on the competency tree.

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

Members

(inner) competencies :Array.<Object>

Source:

Cached list of competencies

Type:
  • Array.<Object>

(inner) competencyFrameworkId :Number

Source:

The current framework id

Type:
  • Number

(inner) competencyFrameworkShortName :String

Source:

The current framework short name

Type:
  • String

(inner) competencyFramworkCanManage :Boolean

Source:

Can manage the competencies framework

Type:
  • Boolean

(inner) currentNodeId :String

Source:

The data-id of the current node in the tree.

Type:
  • String

(inner) treeSelector :String

Source:

The selector for the root of the tree.

Type:
  • String

Methods

(inner) getChildren(id) → {Array}

Source:

Get the children of a competency.

Parameters:
Name Type Description
id Number

The competency ID.

Returns:
Type
Array

(inner) hasChildren(id) → {Boolean}

Source:

Whether a competency has children.

Parameters:
Name Type Description
id Number

The competency ID.

Returns:
Type
Boolean

(inner) reloadCompetencies() → {Promise}

Source:

Reload all the page competencies framework competencies.

Returns:
Type
Promise