Module: selection_js

Methods

(inner) selectAllEntries(list, select) → {void}

Select or unselect all entries
Parameters:
Name Type Description
list HTMLElement table element
select boolean true = select all rows, false = clear selection
Source:
Returns:
Type
void

(inner) selectEntry(event) → {boolean}

Checks if list is in select mode and selects the entries
Parameters:
Name Type Description
event Event triggering event
Source:
Returns:
true if list is in select mode, else false
Type
boolean

(inner) selectSingleEntry(entry, selectopt) → {void}

Selects / unselects a single row
Parameters:
Name Type Attributes Description
entry HTMLElement entry to select or unselect
select boolean <optional>
true = select, false = unselect, null = toggle
Source:
Returns:
Type
void

(inner) showSelectionCount() → {void}

Shows the number of selections in the dropdown
Source:
Returns:
Type
void

(inner) switchListMode(target) → {void}

Switches the select mode of current displayed list
Parameters:
Name Type Description
target EventTarget triggering button
Source:
Returns:
Type
void