Skip to content

Create removeAllChildNodes function for metaflux components #67

@pablolimo

Description

@pablolimo

so far the only way to clean a component from its children nodes is to use the vanilla js way which is innerHTML = '' or functions like removeChild provided by the element but it'd be nice to have a removeAllShildren function that loops through the elements of a node and removes them one by one.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions