core/bulkactions/bulk_action

Description:
  • Base class for defining a bulk action.

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

Base class for defining a bulk action.

Members

selectedItems

Source:
Properties:
Name Type Description
selectedItems array

The array of selected item elements.

Methods

(inner) getBulkActionTriggerSelector() → {string}

Description:
  • Defines the selector of the element that triggers the bulk action.

Source:
Returns:
Type
string

(inner) registerListenerEvents(containerElement) → {void}

Description:
  • Registers the listener events for the bulk actions.

Source:
Parameters:
Name Type Description
containerElement HTMLElement

The container element for the bulk actions.

Returns:
Type
void

(inner) renderBulkActionTrigger() → {Promise}

Description:
  • Renders the bulk action trigger element.

Source:
Returns:
Type
Promise

(inner) setSelectedItems(selectedItems) → {void}

Description:
  • Setter method for the selectedItems property.

Source:
Parameters:
Name Type Description
selectedItems Array

The array of selected item elements..

Returns:
Type
void

(inner) triggerBulkAction()

Description:
  • Defines the behavior once the bulk action is triggered.

Source: