SplitButtonModel

Interface for the SplitButton class.

Properties

content String

Specifies the text content of the Button.

Default: ""

createPopupOnClick Boolean

Specifies whether to create the popup element when the button is clicked or if the popup is created on load.

Default: false

cssClass String

Specifies CSS classes to customize the appearance of the button.

Default: ""

disabled Boolean

Specifies whether the button is enabled or disabled.

Default: false

enableHtmlSanitizer Boolean

Specifies whether to allow the rendering of untrusted HTML and JavaScript values withing the control. When true, any untrusted strings or scripts will be remote before rendering.

Default: true

enableRtl Boolean

Specifies whether to render the control in right to left direction.

Default: false

enableState Boolean

Specifies whether to persist the state of the control between page loads.

No properties are saved to state at this time.

Default: false

iconCss String

Specifies the CSS classes to include an icon or image with the button.

Default: ""

iconPosition String SplitButtonIconPosition

Specifies the position of the icon within the Button.

Default: Left

items ItemModel[]

Specifies this list of items to be rendered in the popup list.

Default: []

locale String

Specifies the culture and localization value for this control, overriding the globally defined value.

Default: en-US

target String HTMLElement

Specifies a selector or an HTML element to render a custom popup.

Default: ""