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." }