SplitButtonComponent
Represents the Kendo UI SplitButton component for Angular.
@Component({
selector: 'my-app',
template: `
 <kendo-splitbutton [data]="items" (buttonClick)="onSplitButtonClick()">Paste</kendo-splitbutton>
`
})
class AppComponent {
  public items: Array<any> = [{
      text: 'Keep Text Only',
      icon: 'clipboard-text',
      click: () => { console.log('Keep Text Only click handler'); }
  }, {
      text: 'Paste as HTML',
      icon: 'clipboard-code'
    }
 ];
  public onSplitButtonClick(dataItem: any): void {
      console.log('Paste');
  }
}Selector
kendo-splitbutton
Export Name
Accessible in templates as #kendoSplitButtonInstance="kendoSplitButton"
Inputs
| Name | Type | Default | Description | 
|---|---|---|---|
| arrowButtonClass | 
 | Specifies the CSS classes for the button that opens the popup.
Supports values compatible with  | |
| arrowButtonIcon | 
 | Specifies the name of the font icon displayed on the button that opens the popup. | |
| arrowButtonSvgIcon | 
 | Specifies the  | |
| buttonAttributes | 
 | Sets attributes for the main button. | |
| buttonClass | 
 | The CSS classes applied to the main button.
Supports the same values as  | |
| data | 
 | Sets the data for the SplitButton. Provide the data as an array-like list. | |
| disabled | 
 | Disables the SplitButton when set to  | |
| fillMode | 
 | 
 | Configures the background and border styles of the SplitButton (see example). | 
| icon | 
 | Specifies an icon to display next to the button text (see example). | |
| iconClass | 
 | Specifies a custom CSS class for the icon displayed next to the button text (see example). | |
| imageUrl | 
 | Specifies the URL of an image to display next to the button text (see example). | |
| popupSettings | 
 | Configures the popup settings of the SplitButton. | |
| rounded | 
 | 
 | Configures the border radius of the SplitButton (see example). | 
| size | 
 | 
 | Configures the padding of the SplitButton (see example). | 
| svgIcon | 
 | Specifies an  | |
| tabIndex | 
 | Specifies the  | |
| text | 
 | Sets the text displayed within the SplitButton. | |
| textField | 
 | Configures the text field of the button-list popup. | |
| themeColor | 
 | 
 | Configures the theme color of the SplitButton. The theme color applies to the background, border, and text (see example). | 
| type | 
 | Specifies the  | 
Fields
| Name | Type | Default | Description | 
|---|---|---|---|
| isOpen | 
 | Returns the current open state of the popup. | |
| itemTemplate | 
 | Specifies a template to customize the content of the items in the drop-down list. | 
Events
| Name | Type | Description | 
|---|---|---|
| buttonClick | 
 | Emits an event when the main button is clicked. | 
| close | 
 | Emits an event before the popup closes. This event is preventable. | 
| itemClick | 
 | Emits an event when an item in the drop-down list is clicked. The event data contains the clicked item's data. | 
| blur | 
 | Emits an event when the SplitButton is blurred. | 
| focus | 
 | Emits an event when the SplitButton gains focus. | 
| open | 
 | Emits an event before the popup opens. This event is preventable. | 
Methods
| blur | 
|---|
| Blurs the SplitButton component. | 
| focus | 
|---|
| Focuses the SplitButton component. | 
| toggle | ||||||
|---|---|---|---|---|---|---|
| Toggles the visibility of the popup.
If the  | ||||||
| 
 |