| src | image source, same as native. | ^[string] | '' |
| fit | indicate how the image should be resized to fit its container, same as object-fit. | ^[enum]'' | 'fill' | 'contain' | 'cover' | 'none' | 'scale-down' | '' |
| hide-on-click-modal | when enabling preview, use this flag to control whether clicking on backdrop can exit preview mode. | ^[boolean] | false |
| loading ^(2.2.3) | Indicates how the browser should load the image, same as native. | ^[enum]'eager' | 'lazy' | — |
| lazy | whether to use lazy load. | ^[boolean] | false |
| scroll-container | the container to add scroll listener when using lazy load. By default, the container to add scroll listener when using lazy load. | ^[string] / ^[object]HTMLElement | — |
| alt | native attribute alt. | ^[string] | — |
| referrerpolicy | native attribute referrerPolicy. | ^[string] | — |
| crossorigin | native attribute crossorigin. | ^[enum]'' | 'anonymous' | 'use-credentials' | — |
| preview-src-list | allow big image preview. | ^[array]string[] | [] |
| z-index | set image preview z-index. | ^[number] | — |
| initial-index | initial preview image index, less than the length of url-list. | ^[number] | 0 |
| close-on-press-escape | whether the image-viewer can be closed by pressing ESC. | ^[boolean] | true |
| preview-teleported | whether to append image-viewer to body. A nested parent element attribute transform should have this attribute set to true. | ^[boolean] | false |
| infinite | whether the viewer preview is infinite. | ^[boolean] | true |
| zoom-rate | the zoom rate of the image viewer zoom event. | ^[number] | 1.2 |
| scale ^(2.11.3) | the preview image scale. | ^[number] | 1 |
| min-scale ^(2.4.0) | the min scale of the image viewer zoom event. | ^[number] | 0.2 |
| max-scale ^(2.4.0) | the max scale of the image viewer zoom event. | ^[number] | 7 |
| show-progress ^(2.9.4) | whether to display the preview image progress content. | ^[boolean] | false |