# Class: ThymeleafTemplateEngine

## vertx-web-js/thymeleaf_template_engine~ ThymeleafTemplateEngine

#### new ThymeleafTemplateEngine()

A template engine that uses the Thymeleaf library.

Source:
  - vertx-web-js/thymeleaf_template_engine.js, line 32

### Methods

#### isCachingEnabled() → {boolean}

Source:
  - vertx-web-js/thymeleaf_template_engine.js, line 73

##### Returns:

Type
  boolean

#### render(arg0, arg1, arg2, arg3)

##### Parameters:

Name | Type | Description
--- | --- | ---
`arg0` | RoutingContext |
`arg1` | string |
`arg2` | string |
`arg3` | function |

Source:
  - vertx-web-js/thymeleaf_template_engine.js, line 46

#### setMode(mode) → {ThymeleafTemplateEngine}

Set the mode for the engine

##### Parameters:

Name | Type | Description
--- | --- | ---
`mode` | Object | the mode

Source:
  - vertx-web-js/thymeleaf_template_engine.js, line 87

##### Returns:

a reference to this for fluency

Type
  ThymeleafTemplateEngine