Primitives / Interaction

In the examples

Each of these composes the primitives above into a working widget. Read app.ts for the placements and update, and view.ts for the Behaviors on the slots.

The widgets run together at foldkit-widgets-demo.pages.dev.

Failure

A Behavior writes data, so a view that stops attaching it leaves nothing behind. The resolver refuses two owners of one event on a slot (Press with LongPress, RovingTabindex with Typeahead): take ListNavigation or pick one. Without a DOM a Mount here emits nothing.