I want to implement a custom variable @itemX for a 2d matrix. How do I implement it? #1935
Answered
by
jaylinski
satyajitnayk
asked this question in
Q&A
-
This is my template
where
Details:
Any help to understand the line |
Beta Was this translation helpful? Give feedback.
Answered by
jaylinski
May 8, 2023
Replies: 1 comment 8 replies
-
Does this help? Here's the documentation for #each: https://handlebarsjs.com/guide/builtin-helpers.html#each |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you really want to do that, you can use the
data
-param as can be seen here:handlebars.js/lib/handlebars/helpers/each.js
Line 35 in e668696