IndexPage
Extends:
The IndexPage
component displays the index page, including the welcome
hero, the sidebar, and the discussion list.
Static Member Summary
Static Public Members | ||
public static |
|
Member Summary
Public Members | ||
public |
|
|
public |
|
|
public |
|
Method Summary
Public Methods | ||
public |
Build an item list for the part of the toolbar which is about taking action on the results. |
|
public |
hero(): MithrilComponent Get the component to display as the hero. |
|
public |
markAllAsRead(): * Mark all discussions as read. |
|
public |
Build an item list for the navigation in the sidebar of the index page. |
|
public |
Open the composer for a new discussion or prompt the user to login. |
|
public |
onbeforeremove(vnode: *) |
|
public |
oncreate(vnode: *) |
|
public |
oninit(vnode: *) |
|
public |
onremove(vnode: *) |
|
public |
setTitle() |
|
public |
Build an item list for the sidebar of the index page. |
|
public |
view(): * |
|
public |
Build an item list for the part of the toolbar which is concerned with how the results are displayed. |
Static Public Members
public static providesInitialSearch: * source
Public Members
public lastDiscussion: * source
Public Methods
public actionItems(): ItemList source
Build an item list for the part of the toolbar which is about taking action on the results. By default this is just a "mark all as read" button.
public hero(): MithrilComponent source
Get the component to display as the hero.
Return:
MithrilComponent |
public navItems(): ItemList source
Build an item list for the navigation in the sidebar of the index page. By default this is just the 'All Discussions' link.
public newDiscussionAction(): Promise source
Open the composer for a new discussion or prompt the user to login.
public onbeforeremove(vnode: *) source
Params:
Name | Type | Attribute | Description |
vnode | * |
public oncreate(vnode: *) source
Params:
Name | Type | Attribute | Description |
vnode | * |
public oninit(vnode: *) source
Params:
Name | Type | Attribute | Description |
vnode | * |
public onremove(vnode: *) source
Params:
Name | Type | Attribute | Description |
vnode | * |