Skip to content

@serenity-is/corelib / Fluent / empty

Function: empty()

empty(element): void

Defined in: src/base/fluent.ts:666

Removes all child nodes from the element, notifying disposing handlers and clearing Fluent event listeners.

Parameters

element

Element

Element to empty. No-op when null / undefined.

Returns

void

void.