Skip to content

@serenity-is/corelib / TabsExtensions / destroy

Function: destroy()

destroy(tabs): void

Defined in: src/ui/helpers/tabsextensions.tsx:265

Destroys a tabs control, cleaning up jQuery UI or Bootstrap tab instances.

Parameters

tabs

The tabs element (or array-like of elements).

HTMLElement | ArrayLike<HTMLElement>

Returns

void