T
- The context object.public interface Helper<T>
Handlebars.registerHelper(String, Helper)
method.Modifier and Type | Method and Description |
---|---|
Object |
apply(T context,
Options options)
Apply the helper to the context.
|
Object apply(T context, Options options) throws IOException
context
- The context object.options
- The options object.IOException
- If a template cannot be loaded.Copyright © 2021. All rights reserved.