Add a syntax to fetch a variable based on a string name #283
Labels
docs to do
Documentation still needs doing before this can get released
enhancement
New feature or request
Currently variables written directly in HTML looks like this:
{$varname}
. A need has arisen for there to be an additional syntax for fetching a variable based on a string name. An old programming term for that is "variable substitution".Something like
{${$varnameString}}
and{${"varname"}}
.The inner parentheses, or whatever it ends up being, would be needed in case this was needed:
{${$obj.varName}}
.This would then spill over into the syntax for if statements, etc., and look like
${$varnameString}
and${"varname"}
.It would also need to work like that in run command JS blocks and {= =} JS expressions.
The text was updated successfully, but these errors were encountered: