IImgEmits

interface
Events & Emits

Emit contract for OrigamImg — mirrors the native <img> lifecycle: loadstart fires before the network request, load when fully decoded, error when the browser gives up.

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Handling image load and error events

vue