Drop Down
(part of package 'Bootstrap Extra Components') Extends designtime/SolutionModel: JSWebComponent Extends runtime: RuntimeWebComponent
This is a reference page; many components have detailed usage guides here.
Properties
buttonStyleClass
Type: styleclass
enabled
Type: enabled Default Value: true
imageStyleClass
Type: styleclass
isButton
Type: boolean Default Value: true
isSplitButton
Type: boolean Default Value: false
menuItems
Type: MenuItem[]
styleClass
Type: styleclass
text
Type: tagstring
toolTipText
Type: tagstring
visible
Type: visible
Events
onAction(event)
Parameters:
{JSEvent} event
onMenuItemSelected(event,menuItem)
Parameters:
API
addMenuItem(menuItem)
Adds the given menu item to the Dropdown
Parameters:
{MenuItem} menuItem
removeMenuItem(itemId)
Removes the menu item with the given item ID
Parameters:
{string} itemId MenuItemId
setMenuItems(menuItems)
Sets the menu items of the Dropdown
Parameters:
{MenuItem[]} menuItems MenuItems
Types
MenuItem
scripting type: CustomType<bootstrapextracomponents-dropdown.MenuItem>
enabled
Type: enabled
Default Value: true
iconName
Type: string
isDivider
Type: boolean
itemId
Type: string
onAction
Type: function
text
Type: tagstring
userData
Type: object
Last updated