thymeleafjs
thymeleafjs copied to clipboard
Supported processors
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 here after scouring the docs: https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html The HTML ones will be simplified as there's a lot of them to write otherwise!
Text processors
- [ ]
th:inline
- [x]
th:text
- [x]
th:utext
Control flow processors
- [ ]
th:case
- [x]
th:if
- [x]
th:each
- [ ]
th:switch
- [x]
th:unless
Fragment processors
- [x]
th:fragment
- [x]
th:insert
- [x]
th:remove
- [x]
th:replace
Local variables
- [ ]
th:object
- [x]
th:with
Attribute processors
- [x]
th:attr
- [ ]
th:attrappend
- [ ]
th:attrprepend
- [ ]
th:alt-title
- [x]
th:classappend
- [ ]
th:xml-lang
Writable HTML attribute processors
- [x]
th:class
- [x]
th:href
- [x]
th:src
- [x]
th:value
- [ ] (too many others to list! See here for what could be missing: https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html#setting-value-to-specific-attributes)
Boolean HTML attribute processors:
- [x]
th:checked
- [ ] (too many others to list! See here for what could be missing: https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html#fixed-value-boolean-attributes)
Element processors
- [x]
th:block
What about the <th:block></th:block>
Is this supported?
Ah, no that one isn't. I'll add it to the list.
I haven't tried porting element processors yet either, so I may need to come up with some way of doing them.
@rob-bar, I've just pushed some commits that added support for element processors and th:block
. You can get it from the latest on master
or it'll be in 0.15.0 release once I get the code coverage back up.
Great! In the meantime I created an adapter for Fractal. You can find it here: https://github.com/rob-bar/thymeleafjs-adapter
forecast to arrive th:switch?