Skip to content

API Reference / @gtkx/testing / prettyRoles

Variable: prettyRoles

const prettyRoles: (container) => string

Defined in: packages/testing/dist/role-helpers.d.ts:26

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

Released under the MPL-2.0 License.