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
Parameters:
event JSEvent
onMenuItemSelected
Parameters:
API
addMenuItem
Adds the given menu item to the Dropdown
@param {bootstrapextracomponents-dropdown.MenuItem} menuItem
Parameters:
menuItem MenuItem
removeMenuItem
Removes the menu item with the given item ID
@param {String} menuItemId
Parameters:
itemId string
setMenuItems
Sets the menu items of the Dropdown
@param {bootstrapextracomponents-dropdown.MenuItem[]} menuItems
Parameters:
menuItems MenuItem[]
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