New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Passing Arrays or Objects to Helpers #1455
Comments
The easiest way is to
I have created an example here: https://jsfiddle.net/9D88g/618/ |
Somewhat more typing than an array literal, but works okay. Any suggestions for an object literal? |
Same concept as nknapp's answer for arrays but return the |
I ended up going with a |
You can use the |
In addition to passing strings, numbers, and boolean values, could it be possible to pass arrays or objects to helpers? For example:
The text was updated successfully, but these errors were encountered: