Skip to content

v0.5.0

Choose a tag to compare

@micky2be micky2be released this 04 Sep 06:14
· 46 commits to master since this release

Assign no more

⚠️ The 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

⚠️ The methods 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

  • removeChild would accept only string as an ID, it is now more open to numbers.
  • insertChildBefore were crashing when the second argument was not provided.
  • replaceClassNames were keeping adding class names from the addList argument even if already present.