Renderer-independent inspection of authoritative GPUI snapshots and trees.
Summary
Functions
Formats a bounded, human-readable tree.
Prints a bounded tree and returns the original source.
Returns a window's authoritative element tree. Runtime render failures raise GPUI.Runtime.Error.
Functions
@spec format_tree( GenServer.server() | GPUI.Snapshot.t() | map(), keyword() ) :: String.t()
Formats a bounded, human-readable tree.
Prints a bounded tree and returns the original source.
@spec tree( GenServer.server() | GPUI.Snapshot.t() | map(), keyword() ) :: map()
Returns a window's authoritative element tree. Runtime render failures raise GPUI.Runtime.Error.