Class InlineDecorator
java.lang.Object
com.github.jknack.handlebars.helper.InlineDecorator
- All Implemented Interfaces:
Decorator
Inline partials via
Decorator API.
{{#*inline \"myPartial\"}}success{{/inline}}{{> myPartial}}
- Since:
- 4.0.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
A singleton instance of this helper.
-
-
Constructor Details
-
InlineDecorator
public InlineDecorator()
-
-
Method Details
-
apply
Description copied from interface:DecoratorDecorate a template with metadata.- Specified by:
applyin interfaceDecorator- Parameters:
fn- Decorated template.options- Options object.- Throws:
IOException- If something goes wrong.
-