SelectDropdown
Extends:
Direct Subclass:
The SelectDropdown
component is the same as a Dropdown
, except the toggle
button's label is set as the label of the first child which has a truthy
active
prop.
Attrs
caretIcon
defaultLabel
Static Method Summary
Static Public Methods | ||
public static |
initAttrs(attrs: *) |
Method Summary
Public Methods | ||
public |
getButtonContent(children: *): undefined[] |
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(children: *): undefined[] source
Get the template for the button's content.
Override:
Dropdown#getButtonContentParams:
Name | Type | Attribute | Description |
children | * |