Skip to content

@serenity-is/corelib / activePropertyTabKey

Function: activePropertyTabKey()

activePropertyTabKey(container): string

Defined in: src/ui/widgets/propertygrid.tsx:342

Gets the key of the active tab of a property grid, which is the key of a tab of its form, e.g. "General", or the key of a tab added with addPropertyTab.

Parameters

container

ParentNode

The element of the property grid, or one that contains it.

Returns

string

The key of the active tab, or null when the grid has no tabs.