JSideris / DOThtml

A human-friendly way to build highly-dynamic web pages in pure JavaScript.
2 stars 4 forks source link

Major refactor: Switch to JSON-based element attributes. #178

Closed JSideris closed 7 months ago

JSideris commented 7 months ago

After a great deal of experimentation, this is the solution that provides the least amount of salt.

Instead of using function chaining after the element, or a callback inside the element, we will instead use a JSON object passed into the element as the first or second parameter.