Constructor
new SectionSource(options)
- Source:
Create a section's source object.
Parameters:
Name | Type | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
Properties
|
Methods
extractLastCommentIndentation(commentForm) → (nullable) {string}
- Source:
For internal use. Extract the section's last comment's indentation characters if needed or a vote / bulleted reply placeholder.
Parameters:
Name | Type | Description |
---|---|---|
commentForm |
CommentForm |
Returns:
- Type
- string
modifyContext(options) → {object}
- Source:
Modify a whole section or page code string related to the section in accordance with an action.
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
Properties
|
Returns:
- Type
- object