Prop | Default | Type |
---|---|---|
as | 'img' | AsTag | Component The element or component this component should render as. Can be overwritten by |
asChild | boolean Change the default rendered element for the one passed as a child, merging their props and behavior. Read our Composition guide for more details. | |
crossOrigin | '' | 'anonymous' | 'use-credentials' | |
referrerPolicy | '' | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url' | |
src* | string |
Emit | Payload |
---|---|
loadingStatusChange | [value: ImageLoadingStatus] A callback providing information about the loading status of the image. |