diff --git a/src/views/button/ButtonDoc.vue b/src/views/button/ButtonDoc.vue index 8a0c4c410..3d3379de1 100644 --- a/src/views/button/ButtonDoc.vue +++ b/src/views/button/ButtonDoc.vue @@ -20,7 +20,7 @@ import Button from 'primevue/button';
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.
+ icon position is "left" and alternative is "right". To display only an icon, leave the label as undefined.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.