- Description:
Handle clicking on action links of the feedback alert.
- Source:
- Copyright:
- 2020 Shamim Rezaie
- 2020 Shamim Rezaie
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Handle clicking on action links of the feedback alert.
Members
(static, constant) registerEventListeners
- Description:
Attach the necessary event handlers to the action links
- Source:
Attach the necessary event handlers to the action links
Methods
(inner) hideRoot(clickedItem) → {HTMLElement}
- Description:
Hide the root node of the CTA notification.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
clickedItem |
HTMLElement | The action element that the user chose. |
Returns:
- Type
- HTMLElement
(inner) recordAction(clickedItem) → {Promise}
- Description:
Record the action that the user took.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
clickedItem |
HTMLElement | The action element that the user chose. |
Returns:
- Type
- Promise