diff --git a/doc/common/apidoc/index.json b/doc/common/apidoc/index.json index 4f21dcae3..b1a2950bb 100644 --- a/doc/common/apidoc/index.json +++ b/doc/common/apidoc/index.json @@ -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[]", "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 class: string, // Style class of the icon.\n }", + "description": "icon slot's params." + } + ], + "returnType": "VNode[]", + "description": "Custom icon template." + }, + { + "name": "loadingicon", + "parameters": [ + { + "name": "scope", + "optional": false, + "type": "{\n \t class: string, // Style class of the loading icon.\n }", + "description": "loading icon slot's params." + } + ], + "returnType": "VNode[]", + "description": "Custom loading icon template." } ] },