Skip to content

API Reference / @gtkx/testing / logWidget

Variable: logWidget

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

Defined in: pretty-widget.d.ts:31

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

Released under the MPL-2.0 License.