Dropdown
Floating menu for displaying a list of actions or options. Uses Popover for the popup.
Installation
Install the component
templui add dropdownAdd the JavaScript to your layout
@dropdown.Script() @popover.Script()Call this template in your base layout file (e.g., in the <head> section).
API Reference
Required parameter
Hover for description
Dropdown
| Name | Type | Default |
|---|---|---|
| | |
Trigger
| Name | Type | Default |
|---|---|---|
| | |
| | |
| | |
Content
| Name | Type | Default |
|---|---|---|
| | |
| | |
| | |
| | |
Group
| Name | Type | Default |
|---|---|---|
| | |
| | |
| | |
Label
| Name | Type | Default |
|---|---|---|
| | |
| | |
| | |
Item
| Name | Type | Default |
|---|---|---|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
Separator
| Name | Type | Default |
|---|---|---|
| | |
| | |
| | |
Shortcut
| Name | Type | Default |
|---|---|---|
| | |
| | |
| | |
Sub
| Name | Type | Default |
|---|---|---|
| | |
| | |
| | |
SubTrigger
| Name | Type | Default |
|---|---|---|
| | |
| | |
| | |
SubContent
| Name | Type | Default |
|---|---|---|
| | |
| | |
| | |