@viji-dev/core 0.17.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/artist-dts-p5.js +1 -1
- package/dist/artist-dts.js +1 -1
- package/dist/artist-global-p5.d.ts +15637 -15632
- package/dist/artist-global.d.ts +3498 -3493
- package/dist/artist-jsdoc.d.ts +1 -1
- package/dist/assets/viji.worker-ePBVxIyj.js +616 -0
- package/dist/docs-api.js +10101 -10086
- package/dist/{essentia-wasm.web-6LFlxl9Z.js → essentia-wasm.web-B-rhQj_G.js} +3376 -3376
- package/dist/{index-BxSadexI.js → index-PgPvRJ2p.js} +12212 -12168
- package/dist/index.d.ts +27 -8
- package/dist/index.js +8 -8
- package/package.json +1 -1
- package/dist/assets/viji.worker-Fw1ZBqRQ.js +0 -616
package/dist/artist-jsdoc.d.ts
CHANGED
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
/**
|
|
197
197
|
* Reactive object returned by `viji.image()`. `value` is `null` until the user uploads an image; in P5 scenes a `.p5` accessor is also added at runtime so the image works directly with `image()`, `texture()`, etc.
|
|
198
198
|
* @typedef {Object} ImageParameter
|
|
199
|
-
* @property {ImageBitmap |null} value - Uploaded image as an `ImageBitmap`, or `null` until the user provides one.
|
|
199
|
+
* @property {ImageBitmap |null} value - Uploaded image as an `ImageBitmap`, or `null` until the user provides one. Read it where you use it (inside `render()`): when the host replaces or clears the image, the previous bitmap is closed, so a reference kept from an earlier frame becomes unusable.
|
|
200
200
|
* @property {string} [label] - P5-compatible image wrapper. Only available in the P5 renderer; added at runtime by the P5 adapter. Display name shown next to the upload field in the parameter UI.
|
|
201
201
|
* @property {string} [description] - Tooltip / help text for the control (empty string when not configured).
|
|
202
202
|
* @property {string} group - Group name under which the control appears in the UI.
|