module:core_group/groupPicker

module:core_group/groupPicker

new (require("core_group/groupPicker"))(elementId)

Source:

Creates the group picker class and finds the corresponding DOM element.

Parameters:
Name Type Default Description
elementId String groups

The DOM element id of the

Throws:

Error if the element was not found.

Classes

core_group/GroupPicker

Methods

getDomElement() → {HTMLElement}

Source:

Returns the DOM element this class is linked to.

Returns:

The DOM element

Type
HTMLElement

getSelectedValues() → {Array.<Number>}

Source:

Returns the selected group values.

Returns:

The group IDs that are currently selected.

Type
Array.<Number>