Skip to content

⬅️ Back to Table of Contents

📄 useImage/component

📊 Analysis Summary

Metric Count
📦 Imports 10
🟢 Vue Composition API 1
📐 Interfaces 2

📚 Table of Contents

🛠️ File Location:

📂 packages/core/useImage/component.ts

📦 Imports

Name Source
UseImageOptions @vueuse/core
UseImageReturn @vueuse/core
Reactive vue
SlotsType vue
UnwrapRef vue
RenderableComponent ../types
useImage @vueuse/core
defineComponent vue
h vue
reactive vue

Vue Composition API

Name Type Reactive Variables Composables
reactive reactive none none

Interfaces

UseImageProps

Interface Code
export interface UseImageProps extends UseImageOptions, RenderableComponent {}

UseImageSlots

Interface Code
interface UseImageSlots {
  default: (data: Reactive<UseImageReturn>) => any
  loading: (data: Reactive<UseImageReturn>) => any
  error: (data: UnwrapRef<UseImageReturn['error']>) => any
}

Properties

Name Type Optional Description
default (data: Reactive<UseImageReturn>) => any not shown
loading (data: Reactive<UseImageReturn>) => any not shown
error (data: UnwrapRef<UseImageReturn['error']>) => any not shown

Generated by Syntax Scribe