HandlebarsTemplates

class HandlebarsTemplates(configure: (Handlebars) -> Handlebars = { it }) : Templates

Handlebars templating support. Use the function in the constructor to configure the instance.

Constructors

Link copied to clipboard
constructor(configure: (Handlebars) -> Handlebars = { it })

Functions

Link copied to clipboard
open override fun Caching(baseTemplateDir: String): (ViewModel) -> String
Link copied to clipboard
open override fun CachingClasspath(baseClasspathPackage: String): (ViewModel) -> String
Link copied to clipboard
open override fun HotReload(baseTemplateDir: String): TemplateRenderer

fun HotReload(firstBaseDir: String, secondBaseDir: String, vararg rest: String): TemplateRenderer

Hot-reloads (no-caching) templates from a file path