handlebar customized helper

27 views
Skip to first unread message

Newbie

unread,
Apr 5, 2019, 1:58:29 AM4/5/19
to Ractive.js
In Handlebars.js templating

FLAG= 'Y'
{{#each persons}}
{{#if (contains "abc" ../modelArray)}}
FLAG='N'
{{/break}}
{{/if}}
{{/each}}


help me in writing {{break}} to exit the {{#each}} loop
Reply all
Reply to author
Forward
0 new messages