# Class: ThymeleafTemplateEngine

## vertx-web-js/thymeleaf_template_engine~ ThymeleafTemplateEngine

#### new ThymeleafTemplateEngine()

  A template engine that uses the Thymeleaf library.
  Source:
    - thymeleaf_template_engine.js, line 30

### Methods

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

  Set the mode for the engine

  ##### Parameters:

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

  Source:
    - thymeleaf_template_engine.js, line 43

  ##### Returns:

  a reference to this for fluency
  Type
    ThymeleafTemplateEngine