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._

http://handlebarsjs.com/reference.html

http://handlebarsjs.com/expressions.html


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -