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
A helper reference is a reference that points to data created by a helper. For example, when looping through an object using the foreach helper, you can access the value of the current child key by using {{@index}}
@tafandi great question! Basically, ID's are really helpful in easily accessing references inside scoped helpers. So if you have a really large nest of loops and you want to access the key of the topmost loop from inside the innermost loop, instead of doing this:
Helper References
A helper reference is a reference that points to data created by a helper. For example, when looping through an object using the
foreach
helper, you can access the value of the current child key by using{{@index}}
https://squirrelly.js.org/docs/v7/helper-refs/
The text was updated successfully, but these errors were encountered: