From 79fa6ea527dcbb514236ac062ebdfc9c6697b26c Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Thu, 13 Apr 2023 09:20:53 +0000 Subject: [PATCH] Update API doc --- doc/common/apidoc/index.json | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) 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." } ] },