Releases: manzt/anywidget
@anywidget/types@0.1.3
Patch Changes
- feat: Infer event payloads from model (
272782b
)
anywidget@0.5.3
Patch Changes
- Updated dependencies [
581e40c
]:- @anywidget/types@0.1.2
@anywidget/types@0.1.2
Patch Changes
-
feat: Autocomplete event names for known model events (#151)
/** * @typedef Model * @prop {number} value - the current count */ /** @type {import("@anywidget/types").Render<Model>} */ export function render({ model, el }) { model.on("change:value", () => { /* ... */); // ^ auto-completed in editor }
anywidget@0.5.2
@anywidget/vite@0.1.1
Patch Changes
- fix: Support refreshing muliple contexts (#144)
@anywidget/types@0.1.1
Patch Changes
- fix: re-expose model.send for custom messages (#146)
anywidget@0.5.1
Patch Changes
- Updated dependencies [
79098be
]:- @anywidget/vite@0.1.0
anywidget@0.5.0
Minor Changes
-
feat: restrict backbone model access in render context (#140)
-
feat!: Limit view fields exposed to render function (#138)
BREAKING: The render function's argument has been refactored from a full
AnyView
to a simple object. This object only exposes themodel
andel
fields to the user-providedrender
function. This change aims to simplify the API and reduce potential misuse. Please ensure your render function only depends on these fields.
Patch Changes
@anywidget/vite@0.1.0
Minor Changes
- fix: Support new user render context (#142)
@anywidget/types@0.1.0
Minor Changes
-
feat: restrict backbone model access in render context (#140)
-
feat!: Limit view fields exposed to render function (#138)
BREAKING: The render function's argument has been refactored from a full
AnyView
to a simple object. This object only exposes themodel
andel
fields to the user-providedrender
function. This change aims to simplify the API and reduce potential misuse. Please ensure your render function only depends on these fields.