home
features
quick start
download
documentation
thymol files
configuration
message resources
control parameters
expression objects
thymol types
thymol API
thymol extensions
examples
sessions
say-hello
stsm example
with-dialect
extrathyme
petclinic
news
credits
user forum
issues
browser constraints
other known issues
create new issue
thymeleaf

thymoljs

thDisable

Can be used to "turn off" (disable) Thymol processing of any particular Thymeleaf attribute. This can be very useful when debugging.

thDisable specifies an array of Thymeleaf attribute names that are to be disabled at run-time.

For example, if you don't want to process th:remove attributes define the following:

       var thDisable = [ "remove" ];

Or if you wish to turn off template inclusion/substitution/replacement define the following:

       var thDisable = [ "include", "substituteby", "replace" ];