core_grades/searchwidget/initials

Description:
  • A small dropdown to filter users within the gradebook.

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

A small dropdown to filter users within the gradebook.

Members

(static, constant) init

Description:
  • Our initial hook into the module which will eventually allow us to handle the dropdown initials bar form.

Source:

Our initial hook into the module which will eventually allow us to handle the dropdown initials bar form.

(inner) registered :boolean

Description:
  • Whether the event listener has already been registered for this module.

Source:

Whether the event listener has already been registered for this module.

Type:
  • boolean

Methods

(inner) onClickVariables() → {Object}

Description:
  • A small abstracted helper function which allows us to ensure we have up-to-date lists of nodes.

Source:
Returns:
Type
Object

(inner) registerListenerEvents(callingLink, gpr_userid, gpr_search)

Description:
  • Register event listeners.

Source:
Parameters:
Name Type Default Description
callingLink String

The link to redirect upon form submission.

gpr_userid Null | Number null

The user id to filter by.

gpr_search Null | String null

The search value to filter by.

(inner) swapActiveItems(itemToReset, e)

Description:
  • Given we are provided the old li and current click event, swap around the active properties.

Source:
Parameters:
Name Type Description
itemToReset HTMLElement
e Event