dashbars how to set variable code example
Example: dashbars how to set variable
// straight value
{{-let "varname" "a string"}}
// copy variable into new variable
{{-let "varname" somevar}}
// from object property
{{-let "varname" (-get "propname" object)}}
// from object property using var as object accessor
{{-let "varname" (-get varwithname object)}}