ToolBarButtonComponent
Represents the Kendo UI ToolBar Button tool for Angular.
Use this component to render a button inside the ToolBar.
<kendo-toolbar>
<kendo-toolbar-button text="Button"></kendo-toolbar-button>
</kendo-toolbar>
Selector
kendo-toolbar-button
Export Name
Accessible in templates as #kendoToolBarButtonInstance="kendoToolBarButton"
Inputs
Name | Type | Default | Description |
---|---|---|---|
className |
|
Specifies custom CSS class names to be added to the Button. | |
disabled |
|
Disables the Button when set to | |
fillMode |
|
|
Specifies the background and border styles of the Button.
Accepts a |
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 to be applied to a | |
imageUrl |
|
Defines a URL for an image to be rendered inside the Button. The URL can be relative or absolute. | |
selected |
|
|
Sets the selected state of the Button.
Use with the |
showIcon |
|
|
Specifies the button icon visibility.
Accepts a |
showText |
|
|
Specifies the button text visibility.
Accepts a |
style |
|
Specifies custom inline CSS styles for the Button. | |
svgIcon |
|
Defines an SVGIcon to be rendered within the button. Accepts either an existing Kendo SVG icon or a custom one. | |
text |
|
Specifies the text of the Button (see example). | |
themeColor |
|
|
Specifies the predefined theme color of the Button.
Accepts a |
title |
|
Specifies the | |
toggleable |
|
|
Provides visual styling to indicate if the Button is active
(see example).
For toggleable buttons, set this to |
Events
Name | Type | Description |
---|---|---|
click |
|
Fires each time the Button is clicked. |
pointerdown |
|
Fires when the Button's |
selectedChange |
|
Fires each time the selected state of a toggleable Button is changed. The event argument is the new selected state (Boolean). |