Documentation
    Preparing search index...

    Function registerUISerializers

    • The §73/§79 node-type pair for every widget class @fourjs/ui ships — Panel, Label, Button, Toggle, Checkbox, RadioButton, Slider, ProgressIndicator, ImageWidget, and CanvasViewWidget (A-14; the six controls added 2026-08-07, A-12; the canvas view added 2026-08-29, RFC 0004).

      Matched by exact class identity, exactly as @fourjs/serialization matches its own two: a subclass of Button is not a Button for this purpose, and writing it out as one would reload it as a plain button and lose everything that made it a subclass. An application's own widget classes therefore compose with this pair rather than being swallowed by it — see registerSceneNodeTypes for how the fallbacks chain.

      Parameters

      Returns SceneNodeTypeSupport

      the writer and reader halves; pass both or neither