- Description:
This module handles the creation of a Modal that shows the user's post in context of the entire discussion.
- Source:
- Copyright:
- 2019 Mathew May
- 2019 Mathew May
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
This module handles the creation of a Modal that shows the user's post in context of the entire discussion.
Members
(static, constant) registerEventListeners
- Description:
Register event listeners for the expand conversations button.
- Source:
Register event listeners for the expand conversations button.
Methods
(inner) findGradableNode(node) → {HTMLElement}
- Description:
Find the Node containing the gradable details from the provided node by searching up the tree.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
node |
HTMLElement |
Returns:
- Type
- HTMLElement
(async, inner) showPostInContext(rootNode, param)
- Description:
Show the post in context in a modal.
- Source:
Parameters:
Name | Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
rootNode |
HTMLElement | The button that has been clicked |
||||||||||
param |
object |
Properties
|