javascript - What does {{^ mean in handlebars -
i have handlebars template contains:
{{^is mymodel.someproperty}} i don't understand significance of caret symbol is. i've searched around, place i'm seeing on handlebars expressions
it's used so:
{{#each nav}} <a href="{{url}}"> {{#if test}} {{title}} {{^}} empty {{/if}} </a> {{~/each}} what "{{^" mean in handlebars? sort of looks .not. or .else. or that.
-eric
... disabling inverse operations such {{^foo}}{{/foo}} unless fields explicitly included in source object._
Comments
Post a Comment