For example, is there a way to nest the hash variable of my “i18n” helper in another helper?
{{view "SearchView" placeholder="{{t'search.root'}}" ref="search" url="/pages/search" className='home-search' polyfill=true}}
Update: Handlebars now supports subexpressions, so You can just do:
{{view "SearchView" (t'search.root')}}
For example, is there a way to nest the hash variable of my “i18n” helper in another helper?
{{view "SearchView" placeholder="{{t'search.root'}}" ref="search" url="/pages/search" className='home-search' polyfill=true}}
Update: Handlebars now supports subexpressions, so you can just do:
{{view "SearchView" (t'search.root')}}