RibbonButtonSettings

12 Sep 20251 minute to read

Defines the ribbon button item.

Properties

content string

Defines the content for the button.

Defaults to ’’

cssClass string

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

Defaults to ’’

htmlAttributes { : }

Specifies additional HTML attributes to be applied to the button.

Defaults to {}

iconCss string

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

Defaults to ’’

isPrimary boolean

Defines whether the button is primary button or not.

Defaults to false

isToggle boolean

Defines whether the button is toggle button or not.

Defaults to false

Events

clicked EmitType<Event>

Event triggers when the button is clicked.

created EmitType<Event>

Event triggers once the button is created.