RibbonDropDownSettings
10 Oct 20251 minute to read
Defines the ribbon DropDownButton item.
Properties
closeActionEvents string
Specifies the event to close the DropDownButton popup.
Defaults to ’’
content string
Specifies the content of the DropDownButton.
Defaults to ’’
createPopupOnClick boolean
Specifies whether to create popup element on open.
Defaults to false
cssClass string
Defines one or more CSS classes to customize the appearance of DropDownButton.
Defaults to ’’
htmlAttributes { : }
Specifies additional HTML attributes to be applied to the DropDownButton.
Defaults to {}
iconCss string
Defines the CSS class for the icons to be shown in the DropDownButton.
Defaults to ’’
items ItemModel[]
Defines the list of items for the DropDownButton popup.
Defaults to []
target string|HTMLElement
Specifies the selector for the element to be shown in the DropDownButton popup.
Defaults to ’’
Events
beforeClose EmitType<BeforeOpenCloseMenuEventArgs>
Triggers before closing the DropDownButton popup.
beforeItemRender EmitType<MenuEventArgs>
Triggers while rendering each Popup item of DropDownButton.
beforeOpen EmitType<BeforeOpenCloseMenuEventArgs>
Triggers before opening the DropDownButton popup.
close EmitType<OpenCloseMenuEventArgs>
Triggers while closing the DropDownButton popup.
created EmitType<Event>
Event triggers once the DropDownButton is created.
open EmitType<OpenCloseMenuEventArgs>
Triggers while opening the DropDownButton popup.
select EmitType<MenuEventArgs>
Triggers while selecting an action item in DropDownButton popup.