Skip to content

API Reference / @gtkx/testing / logWidget

Variable: logWidget ​

const logWidget: (container, options?) => void

Defined in: packages/testing/dist/pretty-widget.d.ts:37

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