Headless primitivesheadless

Interactions

@xui/core/interactions

Emit whenever the host element's size changes.

Install

pnpm add @xui/core/interactions

Examples

This package has no Storybook story yet, so there is nothing to render here. The API below is still extracted from the source.

API

XResizeSensor

directive[xResizeSensor]

Emit whenever the host element's size changes.

Outputs

NameTypexResizeXElementSizeEmits the host's content-box size whenever it changes, starting with its initial size.

Source

libs/core/interactions

xUI 2.0.0 — Apache 2.0 licensed. Built with Angular and Tailwind CSS.