From cbdf8e934a26b2ff3c0afcdb7b9e0bd7238362a0 Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Wed, 3 May 2023 17:55:34 +0000 Subject: [PATCH] Update API doc --- doc/common/apidoc/index.json | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/doc/common/apidoc/index.json b/doc/common/apidoc/index.json index ed2548928..8c5dd4f0a 100644 --- a/doc/common/apidoc/index.json +++ b/doc/common/apidoc/index.json @@ -16324,8 +16324,26 @@ "description": "Custom close template." }, { - "name": "imagePreview", - "parameters": [], + "name": "image", + "parameters": [ + { + "name": "scope", + "optional": false, + "type": "{\n \t class: any, // Style class of the image element.\n \t style: any, // Style of the image element.\n \t onError: void, // Image error function.\n }" + } + ], + "returnType": "VNode[]", + "description": "Custom image template." + }, + { + "name": "preview", + "parameters": [ + { + "name": "scope", + "optional": false, + "type": "{\n \t class: any, // Style class of the preview image element.\n \t style: any, // Style of the preview image element.\n \t onClick: void, // Preview click function.\n }" + } + ], "returnType": "VNode[]", "description": "Custom preview template." }