Quick question. Is it possible to evaluate things other than a Boolean property in a handlebars conditional?
eg This works
//elsewhere... myproperty = true
{{#if myproperty}}...
Any way other conditionals can be done? eg
//elsewhere... myproperty = 3
{{#if myproperty<4}}...
Aucun commentaire:
Enregistrer un commentaire