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

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -