0.0.0 • Published 10 years ago

remove-element v0.0.0

Weekly downloads
30
License
MIT
Repository
github
Last release
10 years ago

remove-element Flattr this!experimental

Removes an element from the DOM. Very simple – but helps reduce a bit of boilerplate and might spare somebody some Googling if they forget.

Usage

remove-element

remove(el)

Removes el from the DOM, if it's attached.

License

MIT. See LICENSE.md for details.