ToolBarDropDownButtonComponent
Represents the Kendo UI ToolBar DropDownButton for Angular.
Use this component to add a button that opens a popup with a list of items in the ToolBar.
<kendo-toolbar>
<kendo-toolbar-dropdownbutton text="Paste Variations" [data]="data">
</kendo-toolbar-dropdownbutton>
</kendo-toolbar>
Selector
kendo-toolbar-dropdownbutton
Export Name
Accessible in templates as #kendoToolBarDropDownButtonInstance="kendoToolBarDropDownButton"
Inputs
Name | Type | Default | Description |
---|---|---|---|
arrowIcon |
|
|
Shows the default arrow icon or lets you provide a custom one. |
buttonClass |
|
Sets the CSS classes for the main button.
Accepts values supported by | |
data |
|
Sets the data of the DropDownButton (see example).
| |
disabled |
|
When | |
fillMode |
|
|
Sets the fill mode for the button. The fill mode represents the background and border styles. |
icon |
|
Sets the icon rendered next to the button text. | |
iconClass |
|
Sets a custom CSS class icon rendered next to the button text. | |
imageUrl |
|
Sets a URL for the image displayed next to the button text. | |
popupSettings |
|
Configures the popup of the DropDownButton.
Accepts a | |
showIcon |
|
|
Controls the button icon visibility. |
showText |
|
|
Controls the button text visibility. |
svgIcon |
|
Sets the | |
text |
|
Sets the text of the DropDownButton (see example). | |
textField |
|
Sets the data item field that repesents the item text. If the data contains only primitive values, do not set this property. | |
themeColor |
|
|
Sets the predefined theme color for the button. The theme color applies to the background, border, and text (see example). |
title |
|
|
Sets the |
Events
Name | Type | Description |
---|---|---|
close |
|
Fires when the popup is about to close. This event is preventable. If you cancel the event, the popup stays open. |
itemClick |
|
Fires each time the user clicks a DropDownButton item. The event data contains the clicked item's data. |
open |
|
Fires when the popup is about to open. This event is preventable. If you cancel the event, the popup stays closed. |