ToolBarButtonComponent
Represents the Kendo UI ToolBar Button tool for Angular.
Selector
kendo-toolbar-button
Export Name
Accessible in templates as #kendoToolBarButtonInstance="kendoToolBarButton"
Inputs
Name | Type | Default | Description |
---|---|---|---|
className |
|
Specifies custom CSS class names that will be added to the Button. | |
disabled |
|
If | |
fillMode |
|
The fillMode property specifies the background and border styles of the Button. The available values are:
| |
icon |
|
Defines the name for an existing icon in a Kendo UI theme
(see example).
The icon is rendered inside the Button by a | |
iconClass |
|
Defines a CSS class—or multiple classes separated by spaces—
which are applied to a | |
imageUrl |
|
Defines a URL which is used for an | |
selected |
|
Sets the selected state of the Button. | |
showIcon |
|
Specifies where button icon should be displayed | |
showText |
|
Specifies where button text should be displayed | |
style |
|
Specifies custom inline CSS styles of the Button. | |
svgIcon |
|
Defines an SVGIcon to be rendered within the button. The input can take either an existing Kendo SVG icon or a custom one. | |
text |
|
Specifies the text of the Button (see example). | |
themeColor |
|
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). The possible values are:
| |
title |
|
Specifies the title of the Button. | |
toggleable |
|
Provides visual styling that indicates if the Button is active
(see example).
By default, |
Events
Name | Type | Description |
---|---|---|
click |
|
Fires each time the Button is clicked. |
pointerdown |
|
Fires when the Button pointerdown event is triggered. |
selectedChange |
|
Fires each time the selected state of a Toggle Button is changed. The event argument is the new selected state (Boolean). |