Composition / foldkit-mixins-builder

How the Builder, Mixins Slots, and Renderer connect

  1. Builder.make(...) creates the Builder's Model, update, and plain view.
  2. BuilderView.define(builder) builds the accessible SlotView over BuilderSlots with keyboard and pointer behaviors attached; attach theme styles with .pipe(Style.attach(...)).
  3. BuilderView.submodel(view) adapts it into a Submodel view driven by BuilderView.inputs({ data }).
  4. Place it standalone with builder.bundle.pipe(Bundle.withView(...)) or as a form field with builder.inputWith(...).

The canvas draws the page with your site's own Renderer in edit mode, wrapping each node with its id so clicks, hovers, and drops target the node under the pointer.