Update API doc
parent
100485460a
commit
79fa6ea527
|
@ -3899,7 +3899,7 @@
|
|||
"optional": true,
|
||||
"readonly": false,
|
||||
"type": "string",
|
||||
"default": "pi pi-spinner pi-spin",
|
||||
"default": "",
|
||||
"description": "Icon to display in loading state."
|
||||
},
|
||||
{
|
||||
|
@ -3980,6 +3980,32 @@
|
|||
"parameters": [],
|
||||
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
|
||||
"description": "Custom content such as icons, images and text can be placed inside the button via the default slot. Note that when slot is used, label, icon and badge properties are not included."
|
||||
},
|
||||
{
|
||||
"name": "icon",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "scope",
|
||||
"optional": false,
|
||||
"type": "{\n \t <b>class</b>: string, // Style class of the icon.\n }",
|
||||
"description": "icon slot's params."
|
||||
}
|
||||
],
|
||||
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
|
||||
"description": "Custom icon template."
|
||||
},
|
||||
{
|
||||
"name": "loadingicon",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "scope",
|
||||
"optional": false,
|
||||
"type": "{\n \t <b>class</b>: string, // Style class of the loading icon.\n }",
|
||||
"description": "loading icon slot's params."
|
||||
}
|
||||
],
|
||||
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
|
||||
"description": "Custom loading icon template."
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue