Class IncludeHelper
java.lang.Object
com.github.jknack.handlebars.helper.ext.IncludeHelper
- All Implemented Interfaces:
com.github.jknack.handlebars.Helper<String>
Allows to include partials with custom context. This is a port of
https://github.com/wycats/handlebars.js/pull/368
- Author:
- https://github.com/c089
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
A singleton instance of this helper. -
NAME
The helper's name.- See Also:
-
-
Constructor Details
-
IncludeHelper
public IncludeHelper()
-
-
Method Details
-
apply
public Object apply(String partial, com.github.jknack.handlebars.Options options) throws IOException - Specified by:
applyin interfacecom.github.jknack.handlebars.Helper<String>- Throws:
IOException
-