Skip to content

API Reference / @gtkx/testing / prettyRoles

Function: prettyRoles() ​

prettyRoles(container): string

Defined in: packages/testing/src/role-helpers.ts:90

Formats the accessible roles in a container's tree as a readable string, listing each role together with its widgets and their accessible names. Widgets that are not mapped are left out.

Parameters ​

container ​

Container

The scope to inspect.

Returns ​

string