Releases: WizUI/WuiDom
v0.7.2
v0.7.1
v0.7.0
v0.6.2
v0.6.1
v0.6.0
Kill them all, but fast
Improvement has been made on the internal method _destroyChildren which should make
the call of clearContent and destroy faster to execute.
Getting so classy
Using now the API of classList from DOMTokenList for every class name operation.
We are using a shim to make sure to be compatible with older browser.
toggleClassNames is now deprecated in favor of toggleClassName
v0.5.3
v0.5.2
v0.5.1
v0.5.0
Assign no more
assign method is now deprecated.
Since v0.2.0 you can assign from the constructor.
It's time to move on.
Back to the source
The use of setting a function and timer for setText and setHtml disappeared long time ago.
Perhaps because of the arrival of Tomes and bindToTome.
This is why from now on, those 2 methods will do simply what they have to do.
Dom query nothing
query and queryAll has been removed.
Those was returning a Dom which seems useless since we wanna work WuiDoms
Let's change your class
A new method called toggleClassNames has been added for the good of avoiding silly if/else logic.
Check the API in the readme for more info.
Ladybug is cute but problematic
removeChildwould accept only string as an ID, it is now more open to numbers.insertChildBeforewere crashing when the second argument was not provided.replaceClassNameswere keeping adding class names from theaddListargument even if already present.