ultraq / thymeleafjs

A basic implementation of the Thymeleaf templating engine in JavaScript
Apache License 2.0
52 stars 8 forks source link

Allow VariableExpression in Fragment TemplateName #35

Closed dougmbarcellos closed 4 years ago

dougmbarcellos commented 4 years ago

From this change, it will be possible to use a variable as a template name.

For example:

<div thjs:replace="~{${content} :: pageContent}"></div>
dougmbarcellos commented 4 years ago

By the way, congratulations on this library 🎉