Search results

RibbonSplitButtonSettings API in JavaScript Ribbon API control

Defines the ribbon SplitButton item.

Properties

closeActionEvents

string

Specifies the event to close the SplitButton popup.

Defaults to

content

string

Specifies the content of the SplitButton.

Defaults to

cssClass

string

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

Defaults to

htmlAttributes

{ [key: string]: string }

Specifies additional HTML attributes to be applied to the SplitButton.

Defaults to {}

iconCss

string

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

Defaults to

items

ItemModel[]

Defines the list of items for the SplitButton popup.

Defaults to []

target

string | HTMLElement

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

Defaults to

Events

beforeClose

EmitType<BeforeOpenCloseMenuEventArgs>

Triggers before closing the SplitButton popup.

beforeItemRender

EmitType<MenuEventArgs>

Triggers while rendering each Popup item of SplitButton.

beforeOpen

EmitType<BeforeOpenCloseMenuEventArgs>

Triggers before opening the SplitButton popup.

click

EmitType<ClickEventArgs>

Triggers while clicking the primary button in SplitButton.

close

EmitType<OpenCloseMenuEventArgs>

Triggers while closing the SplitButton popup.

created

EmitType<Event>

Event triggers once the SplitButton is created.

open

EmitType<OpenCloseMenuEventArgs>

Triggers while opening the SplitButton popup.

select

EmitType<MenuEventArgs>

Triggers while selecting an action item in SplitButton popup.