DiscussionListState
Extends:
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public |
extraDiscussions: *[] |
|
| public |
|
|
| public get |
|
|
Method Summary
| Public Methods | ||
| public |
addDiscussion(discussion: undefined) Add a discussion to the top of the list. |
|
| public |
clear() |
|
| public |
getAllItems(): * |
|
| public |
getPages(): * |
|
| public |
isSearchResults(): * In the last request, has the user searched for a discussion? |
|
| public |
|
|
| public |
removeDiscussion(discussion: undefined) |
|
| public |
requestParams(): * |
|
| public |
sortMap(): * Get a map of sort keys (which appear in the URL, and are used for translation) to the API sort value that they represent. |
|
Public Constructors
public constructor() source
Public Members
public extraDiscussions: *[] source
Public Methods
public addDiscussion(discussion: undefined) source
Add a discussion to the top of the list.
Params:
| Name | Type | Attribute | Description |
| discussion | undefined |
public clear() source
public isSearchResults(): * source
In the last request, has the user searched for a discussion?
Return:
| * |
public loadPage(page: undefined): * source
Params:
| Name | Type | Attribute | Description |
| page | undefined |
Return:
| * |
public removeDiscussion(discussion: undefined) source
Params:
| Name | Type | Attribute | Description |
| discussion | undefined |
public sortMap(): * source
Get a map of sort keys (which appear in the URL, and are used for translation) to the API sort value that they represent.
Return:
| * |
Reference
Source
