Button Menu

A dynamic button component that opens a customizable dropdown menu, providing an intuitive way to present multiple related actions or options. Supports icon integration, styling customization, and flexible menu configuration. Ideal for creating compact, interactive navigation and action interfaces.


Extends: baseComponent


Fields

Name

Code

Data Type

Description

Label

label

multi-locale

The text displayed on the menu button (supports multilingual labels)

Resource ID

resourceId

text

Unique identifier for the button menu component


Methods

Name

Description

getControl

Retrieves the appropriate control component for menu items

updateProps

Updates properties for menu items dynamically

getLabel

Retrieves the button's label, supporting multilingual configurations


Events

Name

Description

onClick

Triggered when the menu button is clicked, opening the dropdown menu