# Class: JadeTemplateEngine

## vertx-web-js/jade_template_engine~ JadeTemplateEngine

#### new JadeTemplateEngine()

A template engine that uses Jade.

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

### Methods

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

##### Parameters:

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

Source:
  - vertx-web-js/jade_template_engine.js, line 45

#### setExtension(extension) → {JadeTemplateEngine}

Set the extension for the engine

##### Parameters:

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

Source:
  - vertx-web-js/jade_template_engine.js, line 65

##### Returns:

a reference to this for fluency

Type
  JadeTemplateEngine

#### setMaxCacheSize(maxCacheSize) → {JadeTemplateEngine}

Set the max cache size for the engine

##### Parameters:

Name | Type | Description
--- | --- | ---
`maxCacheSize` | number | the maxCacheSize

Source:
  - vertx-web-js/jade_template_engine.js, line 79

##### Returns:

a reference to this for fluency

Type
  JadeTemplateEngine