ButtonInterface

Inherits the native HTML Button. Represents the properties which can be set to a Button.

disabled? boolean

Specifies if the Button is disabled (see example). Defaults to false.

icon? string

Defines the name for an existing icon in a Kendo UI theme (see example). The icon is rendered inside the Button by a span.k-icon element.

iconClass? string

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

imageAlt? string

Defines the alternative text of the image rendered inside the Button component.

imageUrl? string

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

look? ButtonLook

Changes the visual appearance by using alternative styling options (more information and examples).

The available values are:

  • bare
  • flat
  • outline

primary? boolean

Adds visual weight to the Button and makes it primary (see example).

selected? boolean

Sets the selected state of the Button. Can be used for controlled state.

togglable? boolean

Provides visual styling that indicates if the Button is selected (see example). Defaults to false.

 /