API Reference / @gtkx/testing / prettyWidget
Variable: prettyWidget
constprettyWidget: (container,options?) =>string
Defined in: pretty-widget.d.ts:24
Renders a widget tree as an indented, HTML-like string showing each widget's tag, accessible attributes, and text content.
Parameters
container
The scope whose widget tree is formatted.
options?
Formatting options such as truncation length and highlighting.
Returns
string
The formatted representation of the tree.