ImageResource
One image constant, two faces — author side (`yield*` for the value and
Interface: ImageResource<ID>
Defined in: packages/motion/src/Image.ts:53
One image constant, two faces — author side (yield* for the value and
the phantom ImageLoader<ID> requirement) and provider side (.Loader
plus layer). See Font.Font for the full contract; images follow
it exactly.
Extends
Effect<Image<ID>,never,ImageLoader<ID>>
Type Parameters
| Type Parameter | Default type |
|---|---|
ID extends string | string |
Properties
id
readonly id: ID;Defined in: packages/motion/src/Image.ts:55
Loader
readonly Loader: Service<ImageLoader<ID>, ImageLoader<ID>>;Defined in: packages/motion/src/Image.ts:56