From 8efd5dd7199c844ad3b7454ac27529bb0e8919dc Mon Sep 17 00:00:00 2001
From: cagataycivici Icon on a button is specified with icon property and position is configured using iconPos attribute. Default
- icon position is "left" and alternative is "right". To display only an icon, leave label as undefined.Icons
Any valid attribute such as style and class are passed to the underlying input element. Following are the additional properties to configure the component.
Name | -Type | -Default | -Description | -
---|---|---|---|
Name | +Type | +Default | +Description | +
label | -string | -null | -Text of the button. | -
icon | -string | -null | -Name of the icon. | -
iconPos | -string | -left | -Position of the icon, valid values are "left" and "right". | -
label | +string | +null | +Text of the button. | +
icon | +string | +null | +Name of the icon. | +
iconPos | +string | +left | +Position of the icon, valid values are "left" and "right". | +
SplitButton items are based on the PrimeVue MenuModel API.
+ +Name | +Type | +Default | +Description | +
---|---|---|---|
label | +string | +null | +Text of the menuitem. | +
icon | +string | +null | +Icon of the menuitem. | +
url | +object | +null | +External link to navigate when item is clicked. | +
command | +boolean | +false | +Callback to execute when item is selected. | +
Different color options are available as severity levels.