Field Notes
    Preparing search index...

    Class CanvasElement

    Renders its projected content as an HTML element embedded in the canvas coordinate space. The element is host-owned and transient: it is driven entirely by inputs, never appears in exported state, and never records an undo step. Before a viewport exists the content renders in place. Must be used inside <fn-canvas>.

    Index
    position: InputSignal<{ x: number; y: number }> = ...

    Canvas-space position of the element's top-left corner.

    size: InputSignal<{ h: number; w: number } | undefined> = ...

    Optional fixed size; omit to let the element size to its content.