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


Type: MenuItem[]


styleClass

Type: styleclass


text

Type: tagstring


toolTipText

Type: tagstring


visible

Type: visible


Events

onAction

Parameters:

event JSEvent


onMenuItemSelected

Parameters:

event JSEvent menuItem MenuItem


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

scripting type: CustomType<bootstrapextracomponents-dropdown.MenuItem>


Last updated