You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 2, 2025. It is now read-only.
Arthur Guiot edited this page Jul 7, 2017
·
1 revision
How it works?
This function will simply remove an element from the DOM. You just give it an element and it will remove it definitively. This function is similar to rm -rf, but for the DOM 😊.
How to use it?
Let's say we want to remove an element, that's how we do it:
HTML:
<divclass="toRemove">You won't see me after when DisplayJS will do its work 😭!</div>
JS:
$.remove($.select(".toRemove"))
⚠️ Questions?
Don't hesitate to ask your questions ⁉️ in the issue part 😁