Constructor
new CommentSubitemList()
- Source:
Create a comment subitem list.
Members
content :object
- Source:
List of subitems with names as keys.
Type:
- object
Methods
add(name, $element)
- Source:
Add a subitem to the list.
Parameters:
Name | Type | Description |
---|---|---|
name |
string | |
$element |
external:jQuery |
get(name) → (nullable) {external:jQuery}
- Source:
Get the subitem with the provided name.
Parameters:
Name | Type | Description |
---|---|---|
name |
string |
Returns:
- Type
- external:jQuery
remove(name)
- Source:
Remove a subitem both from the list and the page. Remove the list if has become empty.
Parameters:
Name | Type | Description |
---|---|---|
name |
string |