Event outputInteract with the preview to inspect the typed payload.
Live examples
Designed for real product surfaces
Compare configurations and resize the browser to check responsive behavior.
Recommended
Drag or arrow the divider
Two panes with a movable divider. Drag it, or focus it and use the arrow keys; Home and End go to the bounds. The size is resolved in the runtime and written onto the container as a custom property, because a pointermove fires far too often to route through a client function.
Vertical orientation splits top from bottom and switches the arrow keys to up and down. Below the small breakpoint both orientations stack, because two panes side by side stop making sense on a phone.
Use declarative output handlers in .wrn files or register a direct output handler from JavaScript. The canonical API exposes payload and does not require event.detail.
@sizeChangeFires when the component emits the sizeChange event.