UNPKG

radix-vue

Version:

Vue port for Radix UI Primitives.

4 lines (3 loc) 269 B
import { ImgHTMLAttributes, Ref } from 'vue'; export type ImageLoadingStatus = 'idle' | 'loading' | 'loaded' | 'error'; export declare function useImageLoadingStatus(src: Ref<string>, referrerPolicy?: Ref<ImgHTMLAttributes['referrerpolicy']>): Ref<ImageLoadingStatus>;