Constructor
new AwardsBestowalBulkTodo()
Methods
applySelection(ids, rows)
Parameters:
| Name | Type | Description |
|---|---|---|
ids |
Array.<string> | |
rows |
Array.<{id: string, options: Array.<object>}> |
buildOptions(rows)
Parameters:
| Name | Type | Description |
|---|---|---|
rows |
Array.<{id: string, options: Array.<object>}> |
handleShow()
- Description:
Read the current grid selection when the modal opens.
- Source:
parseOptions(raw)
Parameters:
| Name | Type | Description |
|---|---|---|
raw |
string |
readSelection(button) → {Array.<string>}
- Description:
Resolve the selected bestowal ids from the live grid checkboxes, falling back to the serialized selection stashed on the bulk-action button.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
button |
HTMLElement | null |
Returns:
- Type
- Array.<string>
readSelectionDetails(button) → {Object}
- Description:
Resolve the selected bestowal ids and row metadata from the live grid checkboxes, falling back to the serialized selection payload.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
button |
HTMLElement | null |
Returns:
- Type
- Object
selectionFromCheckboxes(checkboxes)
Parameters:
| Name | Type | Description |
|---|---|---|
checkboxes |
Array.<HTMLInputElement> |
selectionRowFromDataset(row) → {Object}
- Description:
Normalize a selection row read from a checkbox or serialized dataset.
- Source:
Parameters:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
row |
object | Selection row. Properties
|
Returns:
Normalized selection row.
- Type
- Object
updateLookupUrl(ids)
Parameters:
| Name | Type | Description |
|---|---|---|
ids |
Array.<string> |