Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PebbleTemplateEngine

A template engine that uses the Pebble library. The {@link TemplateEngine#unwrap} shall return an object of class

Hierarchy

  • any
    • PebbleTemplateEngine

Index

Properties

Methods

Properties

Static Readonly DEFAULT_TEMPLATE_EXTENSION

DEFAULT_TEMPLATE_EXTENSION: string

Default template extension

Methods

Static create

  • Create a template engine using defaults

    Parameters

    • vertx: Vertx

    Returns PebbleTemplateEngine

  • Create a template engine using defaults

    Parameters

    • vertx: Vertx
    • extension: string

    Returns PebbleTemplateEngine

  • Create a template engine using a custom Builder, e.g. if you want use custom Filters or Functions.

    Parameters

    • vertx: Vertx
    • engine: any

    Returns PebbleTemplateEngine

  • Create a template engine using a custom Builder, e.g. if you want use custom Filters or Functions.

    Parameters

    • vertx: Vertx
    • extension: string
    • engine: any

    Returns PebbleTemplateEngine

Generated using TypeDoc