SessionDropdown
Extends:
The SessionDropdown component shows a button with the current user's
avatar/name, with a dropdown of session controls.
Static Method Summary
| Static Public Methods | ||
| public static |
initAttrs(attrs: *) |
|
Method Summary
| Public Methods | ||
| public |
|
|
| public |
Build an item list for the contents of the dropdown menu. |
|
| public |
view(vnode: *): * |
|
Inherited Summary
| From class Dropdown | ||
| public static |
initAttrs(attrs: *) |
|
| public |
|
|
| public |
getMenu(items: *): * |
|
| public |
oncreate(vnode: *) |
|
| public |
oninit(vnode: *) |
|
| public |
view(vnode: *): * |
|
| protected |
getButton(children: *): * Get the template for the button. |
|
| protected |
getButtonContent(children: *): * Get the template for the button's content. |
|
Static Public Methods
public static initAttrs(attrs: *) source
Override:
Dropdown#initAttrsParams:
| Name | Type | Attribute | Description |
| attrs | * |
Public Methods
public getButtonContent(): undefined[] source
Get the template for the button's content.
Override:
Dropdown#getButtonContentpublic view(vnode: *): * source
Override:
Dropdown#viewParams:
| Name | Type | Attribute | Description |
| vnode | * |
Return:
| * |
Reference
Source
