@serenity-is/corelib / TabsExtensions / activeTabKey
Function: activeTabKey()
activeTabKey(
tabs):string
Defined in: src/ui/helpers/tabsextensions.tsx:109
Returns the key of the currently active tab.
Parameters
tabs
The tabs element (or array-like of elements).
HTMLElement | ArrayLike<HTMLElement>
Returns
string
The active tab key.