ThreadedCommentCollection
Contents
[
Hide
]ThreadedCommentCollection class
Represents the list of threaded comments.
class ThreadedCommentCollection;
Methods
| Method | Description |
|---|---|
| get(number) | Gets the threaded comment by the specific index. |
| add(string, ThreadedCommentAuthor) | Adds a threaded comment; |
| getCount() | @deprecated. Please use the ‘count’ property instead. Gets the number of elements contained in. |
| isNull() | Checks whether the implementation object is null. |
get(number)
Gets the threaded comment by the specific index.
get(index: number) : ThreadedComment;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | number | The index |
Returns
add(string, ThreadedCommentAuthor)
Adds a threaded comment;
add(text: string, author: ThreadedCommentAuthor) : number;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| text | string | The text of the threaded comment. |
| author | ThreadedCommentAuthor | The author of the threaded comment |
getCount()
@deprecated. Please use the ‘count’ property instead. Gets the number of elements contained in.
getCount() : number;
isNull()
Checks whether the implementation object is null.
isNull() : boolean;