I want to use any operator in {{#if.........}}
.
Have any packages or solution.
help me.
You can’t. Use a helper that does the comparison! Handlebars/Spacebars is pretty bare-bones, doesn’t allow anything that even remotely looks like “code”.
Have any packages to do this?
@theara Have a look at https://atmospherejs.com/raix/handlebar-helpers
Pretty sure you can also register a custom helper.
Check this out: http://stackoverflow.com/questions/22705532/meteor-whats-the-best-way-to-test-equality-of-two-values-like-if-somevar
Look great, but don’t update for along time.