It works in the DOM-tree to make a clean distinktion between layout and script. WIth tedo it is easy to update layout or dynamic behaviour without breakage.
Templates are created in the normal html-file. To special elements the class tedo is added and data-tedo-tags describing the type of template.
To modify elements through templates the tedo object is used. Example of usage is tedo.my_list.addLast()
The goal is that it should be compatible with the newer versions of all big browsers both mobile and stationary, but it requires some newer features like classlist, dataset and elementNode references.
- template engine
Be the first to post a review of tedo!