Skip to content

API Reference / @gtkx/testing / logWidget

Function: logWidget() ​

logWidget(container, options?): void

Defined in: packages/testing/src/pretty-widget.ts:270

Prints one or more widget trees to the console using prettyWidget.

Parameters ​

container ​

Container | Container[]

A single scope or an array of scopes to format and print.

options? ​

PrettyWidgetOptions

Formatting options passed through to prettyWidget.

Returns ​

void