Package com.github.jknack.handlebars.helper
package com.github.jknack.handlebars.helper
-
ClassDescriptionThe block helper will replace its section with the partial of the same name if it exists.Implementation of equals, greater, lessThan, and, or, etc..Default implementation of
HelperRegistry
.You can iterate over a list using the built-in each helper.Given: home.hbsDecorates a method that represents a helper function extracted via a "helper source" with metadata that cannot be inferred from its signature, such as a custom helper name.Implementation of i18n helper for Java and JavaScript.Resolve message keys and message for internationalization.You can use the if helper to conditionally render a block.Inline partials viaDecorator
API.Log a message.Lookup helper, which allows to get a context variable.Wrap a method as Handlebars helper.The partial registry helper.Precompile a template to JavaScript using handlebars.js.Commons string function helpers.You can use the unless helper as the inverse of the if helper.Normally, Handlebars templates are evaluated against the context passed into the compiled method.