Skip to content

@serenity-is/corelib / Fluent / remove

Function: remove()

remove(element): void

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

Removes the element from the DOM, clearing Fluent event handlers and firing disposing notifications for the element and its descendants.

Parameters

element

Element

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

Returns

void

void.