components/canvasevents
Labs · 56 / 64

CanvasEvents

ui.events

Canvas-level events: scroll, magnify, drag and a clipboard PNG round-trip.

BEHAVIOR CONTRACT

Raw event payloads reach the node without a component in between.

RECORDED INTERACTION

The harness scrolls the canvas; the event log updates live.

View source on GitHubexamples/storybook/stories.zig:4111

The story's verbatim source from the Storybook (zenit 4c50245 2026-10-01). W is ui.widgets; col / row / label are small Storybook layout helpers.

zenit · Dual-licensedFree for open-source projects under GPL-3.0-only; closed-source or commercial products need a commercial license.Contact the author: zongyi.xzy#gmail.com (replace # with @)zenit 4c50245 2026-10-01