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
Parameter | Type | Description |
---|---|---|
element | null | HTMLElement | SVGElement | The element to remove. |
Returns
void