New to Kendo UI for Vue? Start a free 30-day trial

Inherits the native HTML Button. Represents the properties that you can set to a Button.

Definition

Package:@progress/kendo-vue-buttons

Properties

Sets the aria-label attribute of the Button.

dir?

string

Sets the direction of the Button.

disabled?

boolean

Sets whether the Button is disabled (see example). Defaults to false.

endIcon?

string

Sets the name of an existing font icon in a Kendo UI for Vue theme. The Button renders it after the text.

Example:
vue
<KButton :end-icon="'chevron-right'">Next</KButton>

Sets an SVGIcon that the Button renders after the text.

Example:
vue
<KButton :end-svg-icon="chevronRightIcon">Next</KButton>

icon?

string

Sets the name of an existing icon in a Kendo UI for Vue theme (see example). The Button renders the icon inside a span.k-icon element.

Sets a CSS class—or multiple classes separated by spaces—that the Button applies to a span element inside it (see example). Use it to show custom icons.

imageAlt?

string

Sets the alternative text of the image inside the Button.

imageUrl?

string

Sets the URL of an img element inside the Button (see example). The URL can be relative or absolute. The browser resolves a relative URL against the URL of the web page.

selected?

boolean

Sets the selected state of the Button. Use it for controlled mode.

svgIcon?

SVGIcon

Sets an SVGIcon that the Button renders.

title?

string

Sets the title HTML attribute of the Button.

togglable?

boolean

Sets whether the Button shows a selected state when the user clicks it (see example). Defaults to false.

Default:

false