Update API doc

pull/3919/head^2
GitHub Actions Bot 2023-05-03 17:55:34 +00:00
parent 85df7a558d
commit cbdf8e934a
1 changed files with 20 additions and 2 deletions

View File

@ -16324,8 +16324,26 @@
"description": "Custom close template."
},
{
"name": "imagePreview",
"parameters": [],
"name": "image",
"parameters": [
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>class</b>: any, // Style class of the image element.\n \t <b>style</b>: any, // Style of the image element.\n \t <b>onError</b>: void, // Image error function.\n }"
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom image template."
},
{
"name": "preview",
"parameters": [
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>class</b>: any, // Style class of the preview image element.\n \t <b>style</b>: any, // Style of the preview image element.\n \t <b>onClick</b>: void, // Preview click function.\n }"
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
"description": "Custom preview template."
}