module:core_grades/bulkactions/edit/tree/move_options_tree

module:core_grades/bulkactions/edit/tree/move_options_tree

new (require("core_grades/bulkactions/edit/tree/move_options_tree"))(afterSelectMoveOptionCallback) → {void}

Source:

The class constructor.

Parameters:
Name Type Description
afterSelectMoveOptionCallback function | null

Callback function used to define actions that should be run after selecting a move option.

Returns:
Type
void

Members

afterSelectMoveOptionCallback

Source:
Properties:
Name Type Description
afterSelectMoveOptionCallback function | null

Callback function to run after selecting a move option.

selectedMoveOption

Source:
Properties:
Name Type Description
selectedMoveOption HTMLElement | null

The selected move option.

(inner, constant) The :Object

Source:

object containing the relevant selectors.

Type:
  • Object

Methods

handleItemClick(event, item) → {void}

Source:

Handle an item click.

Parameters:
Name Type Description
event Event

The click event.

item jQuery

The item clicked.

Returns:
Type
void

(inner) handleKeyDown(e)

Source:

Handle a key down event.

Parameters:
Name Type Description
e Event

The event.

(inner) selectMoveOption(moveOption)

Source:

Select a move option.

Parameters:
Name Type Description
moveOption HTMLElement

The move option to select.