You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It could be useful to chain helper methods together before rendering. If we look at languages such as liquid we chain them together like {{ helper1 arg | helper2 }} with the results of helper1 going into the arguments of helper2.
Handlebars has a similar functionality with helpers by nesting the helper declarations like so: {{ helper1 (helper2 arg) }}
Currently this functionality can be simulated by nesting functions in your helper like so
Originally Requested by @Tasteful in #16
It could be useful to chain helper methods together before rendering. If we look at languages such as liquid we chain them together like
{{ helper1 arg | helper2 }}
with the results of helper1 going into the arguments of helper2.Handlebars has a similar functionality with helpers by nesting the helper declarations like so:
{{ helper1 (helper2 arg) }}
Currently this functionality can be simulated by nesting functions in your helper like so
If you think this functionality would be useful please leave as 👍 or ❤️ and comment if you have a preference on synax
The text was updated successfully, but these errors were encountered: