Skip to main content

Function: remove()

remove(element): void

Defined in: src/sdk/components/FSComponent.ts:785

Remove a previously rendered element. Currently, this is just a simple wrapper so that all of our high-level "component maniuplation" state is kept in the FSComponent API, but it's not doing anything other than a simple remove() on the element. This can probably be enhanced.

Parameters

ParameterTypeDescription
elementnull | HTMLElement | SVGElementThe element to remove.

Returns

void