ResolvedNode
data class ResolvedNode(val type: String, val path: NodePath, val props: <Error class: unknown class>, val style: ResolvedStyle, val intrinsicLayout: IntrinsicLayout, val replaced: Boolean, extras: Map<String, <Error class: unknown class>>, val children: List<ResolvedChild>) : Map<String, <Error class: unknown class>>
A resolved node. The Map view exposes the node-level custom keys (unknown keys sitting next to type/props/children in the source JSON), so node["custom-key"] reads a custom attribute — the same approach as com.j0y.joy.dom.serialization.Node.
props carries the node's full props verbatim (never null — a node without props gets an empty NodeProps): typed fields via props.id/props.onClick/…, custom prop keys via props["custom-key"]. Breakpoints override only style, never props or handlers, matching React (js/react/src/breakpoints.ts).
Constructors
Link copied to clipboard
constructor(type: String, path: NodePath, props: <Error class: unknown class>, style: ResolvedStyle, intrinsicLayout: IntrinsicLayout, replaced: Boolean, extras: Map<String, <Error class: unknown class>>, children: List<ResolvedChild>)