bn.previewImage
▸ previewImage(options
): Promise
<void
>
Preview the picture in full screen on the new page. Preview the process of the user can save pictures, send to friends and other operations.
Parameters
Name | Type |
---|---|
options | PreviewImageOptions |
Returns
Promise
<void
>
Interface: PreviewImageOptions
Name | Type | Description |
---|---|---|
urls | string [] | A list of links to images that need to be previewed |
current? | string | Displays long press menu |
showmenu? | boolean | Link to currently displayed picture |
referrerPolicy? | "origin" | "no-referrer" | origin: Send the full referrer no-referrer: Do not send |