| Package | Description |
|---|---|
| org.trimou.handlebars |
| Modifier and Type | Class and Description |
|---|---|
class |
EachHelper
{{#each items}}
{{name}}
{{/each}}
|
class |
EqualsHelper
Renders a block if the first param does/doesn't equal to the
second param (by means of
Object.equals(Object)). |
class |
ChooseHelper
This helper works similarly as the JSP c:choose tag.
|
static class |
ChooseHelper.OtherwiseHelper |
static class |
ChooseHelper.WhenHelper
The first param is the test condition.
|
class |
IfHelper
Renders a block if the param is not "falsy".
|
class |
NullCheckHelper
Renders a block if the param is/isn't null.
|
class |
SetHelper
Works similarly as
WithHelper except the current
HelperDefinition.getHash() map is pushed on the context stack. |
class |
SwitchHelper
This helper works similarly as the Java switch statement.
|
static class |
SwitchHelper.CaseHelper
The first param is the matching value.
|
static class |
SwitchHelper.DefaultHelper |
class |
UnlessHelper
Renders a block if the param is "falsy".
|
class |
WithHelper
Nested context.
|
Copyright © 2015. All Rights Reserved.