- ReactiveImage(...args): {
get isError(): boolean;
get isLoading(): boolean;
get isResolved(): boolean;
get value(): unknown;
}
-
Parameters
-
Rest
...args: [maybeUrl: string | (() => string)]
Returns {
get isError(): boolean;
get isLoading(): boolean;
get isResolved(): boolean;
get value(): unknown;
}
-
get isError(): boolean
-
get isLoading(): boolean
-
get isResolved(): boolean
-
get value(): unknown
Reactively load an Image with access to loading / error state.
Usage in a component
Usage in a class
Reactive usage in a class