thymeleafjs
thymeleafjs copied to clipboard
A basic implementation of the Thymeleaf templating engine in JavaScript
From working on [thymeleaf-js-todo](https://github.com/ultraq/thymeleaf-js-todo) and especially with trying to get Thymeleaf templates working on both client and server side ("isomorphic templates"), I often encounter some "why should it be like...
A list of all the processors currently supported in the latest version of ThymeleafJS. There's not one list of all processors, but I've done my best to list them all...
I thought it'd be good to make these functions asynchronous so that developers could add virtually anything they wanted in there, but it's coming at the cost of quite a...
When using ThymeleafJS on the browser, I'm doing a lot of setting of event handlers after the template has been rendered. It'd be cool if there was some way to...
As of writing, Thymeleaf and its processors are implemented to work on the DOM, hence the dependency on libs like JSDOM when running in a Node/server environment. Would it be...
In Thymeleaf, the DOM elements were some custom built ones so it was able to have additional properties like node local variables. In this project, I'm using the standard DOM...
Hi, I am trying to make a **sub template approach** with **fragments** and **inserts**. So in the example: template.html is using a fragment from footer.html template. But I see in...
Hello. The execution of the following code fails `` function multiAttrTest(callback) { var tptEng = new thymeleaf.TemplateEngine(); var tptTxt = 'This is a test'; var data = {webPage: 'https://www.google.com', target:...
Hey @ultraq many javascript template languages allow to compile templates into javascript code so we don't have to transmit the rendering engine and can save the time to parse and...
Thymeleaf has this notion of a default attribute processor (http://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html#setting-the-value-of-any-attribute-default-attribute-processor) which lets any unregistered attribute processors be converted straight into whatever the attribute name is after the `th:` part, as...