Skip to content

Stable release (with bindable DOM)

Choose a tag to compare

@g105b g105b released this 17 Jun 19:47

Before a stable release could be made, the way that data was bound to the DOM needed to be addressed. Currently (v0.6.x) this was too complex, because no matter what type of data you had, everything was bound to the DOM through the Element::bind() function. That included key value pair storage, lists, and if there was data that needed to be bound to a nested list it was impossible to bind without iterating over it yourself.

The stable release introduce introduces, amongst a generous amount of bugfixes and test hardening, the addition of the following new functions:

  • bindKeyValue
  • bindData
  • bindList
  • bindNestedList

They should be self-explanatory now, and depending on the data that you wish to bind to the page, should be very obvious as to which function you should be calling.

Have fun, and stay productive!