Ribbon - RibbonDropDownSettingsModel

18 Nov 20261 minute to read

Interface for a class RibbonDropDownSettings

Properties

closeActionEvents string

Specifies the event to close the DropDownButton popup.

content string

Specifies the content of the DropDownButton.

createPopupOnClick boolean

Specifies whether to create popup element on open.

cssClass string

Defines one or more CSS classes to customize the appearance of DropDownButton.

htmlAttributes { [key: string]: string }

Specifies additional HTML attributes to be applied to the DropDownButton.

iconCss string

Defines the CSS class for the icons to be shown in the DropDownButton.

items ItemModel[]

Defines the list of items for the DropDownButton popup.

target string|HTMLElement

Specifies the selector for the element to be shown in the DropDownButton popup.

Events

beforeClose [EmitType<BeforeOpenCloseMenuEventArgs>](../drop-down-button/beforeOpenCloseMenuEventArgs)

Triggers before closing the DropDownButton popup.

beforeItemRender [EmitType<MenuEventArgs>](../drop-down-button/menuEventArgs)

Triggers while rendering each Popup item of DropDownButton.

beforeOpen [EmitType<BeforeOpenCloseMenuEventArgs>](../drop-down-button/beforeOpenCloseMenuEventArgs)

Triggers before opening the DropDownButton popup.

close [EmitType<OpenCloseMenuEventArgs>](../drop-down-button/openCloseMenuEventArgs)

Triggers while closing the DropDownButton popup.

created EmitType<Event>

Event triggers once the DropDownButton is created.

open [EmitType<OpenCloseMenuEventArgs>](../drop-down-button/openCloseMenuEventArgs)

Triggers while opening the DropDownButton popup.

select [EmitType<MenuEventArgs>](../drop-down-button/menuEventArgs)

Triggers while selecting an action item in DropDownButton popup.