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}

Description:
  • The class constructor.

Source:
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

Description:
  • object containing the relevant selectors.

Source:

object containing the relevant selectors.

Type:
  • Object

Methods

handleItemClick(event, item) → {void}

Description:
  • Handle an item click.

Source:
Parameters:
Name Type Description
event Event

The click event.

item jQuery

The item clicked.

Returns:
Type
void

(inner) handleKeyDown(e)

Description:
  • Handle a key down event.

Source:
Parameters:
Name Type Description
e Event

The event.

(inner) selectMoveOption(moveOption)

Description:
  • Select a move option.

Source:
Parameters:
Name Type Description
moveOption HTMLElement

The move option to select.