New to Kendo UI for Angular? Start a free 30-day trial
PopupSettings
Used for configuring the popup settings.
ts
@Component({
selector: 'my-app',
template: `
<kendo-splitbutton [data]="listItems" [popupSettings]="{ animate: animate, popupClass: popupClass, appendTo: 'component' }">
SplitButton
</kendo-splitbutton>
`
})
class AppComponent {
public animate: boolean = false;
public popupClass: string = 'customClass';
public listItems: Array<any> = [{
text: 'item1'
}, {
text: 'item2'
}]
}
Name | Type | Default | Description |
---|---|---|---|
align? |
|
Controls the alignment of the popup. By default, the popup is left aligned. | |
animate? |
|
Controls the popup animation. By default, the open and close animation are enabled. | |
appendTo? |
|
Controls the popup container. By default, the popup will be appended to the root component. | |
popupClass? |
|
Specifies a list of CSS classes used for styling the popup. |