New to Kendo UI for AngularStart a free 30-day trial

ButtonComponent

Represents the Kendo UI Button component for Angular.

As of package v17, the span[kendoButton] and kendo-button selectors are removed. Please use the button[kendoButton] selector only.

Selector

button[kendoButton]

Export Name

Accessible in templates as #kendoButtonInstance="kendoButton"

Inputs

NameTypeDefaultDescription

disabled

boolean

false

If set to true, it disables the Button.

fillMode

ButtonFillMode

'solid'

The fillMode property specifies the background and border styles of the Button (see example).

icon

string

Defines the name for an existing font icon in the Kendo UI theme.

iconClass

string

Defines a CSS class—or multiple classes separated by spaces— which are applied to a span element inside the Button. Allows the usage of custom icons.

imageUrl

string

Defines a URL which is used for an img element inside the Button. The URL can be relative or absolute. If relative, it is evaluated with relation to the web page URL.

rounded

ButtonRounded

'medium'

The rounded property specifies the border radius of the Button (see example).

selected

boolean

false

Sets the selected state of the Button.

size

ButtonSize

'medium'

The size property specifies the padding of the Button (see example).

svgIcon

SVGIcon

Defines an SVGIcon to be rendered within the button.

themeColor

ButtonThemeColor

'base'

The Button allows you to specify predefined theme colors. The theme color will be applied as a background and border color while also amending the text color accordingly (see example).

toggleable

boolean

false

Provides visual styling that indicates if the Button is active.

Events

NameTypeDescription

click

EventEmitter<any>

Fires each time the user clicks the button.

selectedChange

EventEmitter<any>

Fires each time the selected state of a toggleable button is changed.

The event argument is the new selected state (boolean).

Methods

blur

Blurs the Button component.

focus

Focuses the Button component.

In this article
SelectorExport NameInputsEventsMethods
Not finding the help you need?
Contact Support