DOMly
DOMly copied to clipboard
Support setting an attribute on every generated element automatically
In order for users to know which elements were created by DOMly, it should be possible to add a marker attribute to every generated element. This allows users to perform quick clean operations on a DOM tree generated by DOMly if they need to re-render, or to identify nodes that were not created by DOMly.