Skip to main content

Type Alias: RenderResult

RenderResult = BoundQueries & object

Defined in: types.ts:154

Result returned by render.

Provides query methods and utilities for testing rendered components.

Type Declaration

NameTypeDescriptionDefined in
baseElementContainerThe element queries are bound to (defaults to the GTK Application)types.ts:158
containerGtk.WidgetThe direct container widget wrapping the rendered contenttypes.ts:156
debug()() => voidPrint the widget tree to console for debuggingtypes.ts:164
rerender()(element) => Promise<void>Re-render with a new elementtypes.ts:162
unmount()() => Promise<void>Unmount the rendered componenttypes.ts:160