moon
moon copied to clipboard
Event managment
In many cases, as application developer, I might prefer custom event managment. This should be supported by all components. (Like is_open boolean, open event, close event) etc.
If using Hooks, all root elements only should be hooks for components, meaning that it operates of it's children nodes, not el.parentNode.