[ALOY-1092] Allow more query options / scope in .tss
|Affected Version/s||Alloy 1.5.0, Alloy 1.4.1|
|Fix Version/s||Alloy 1.7.0|
DescriptionThe docs state that you have to use Alloy.Globals.* in a .tss query. You can actually use a local function in a controller too, i.e.
"#window[if=myFunc()]"and that will work too. What won't work however is basing a query off of params passed to the controller instance. It would work, but the Alloy compiler doesn't allow it -
"#window[if=arguments.someProp]"This would be a very powerful addition to the new queries available. It technically already works in the runtime code (I hardcoded it and tried it)...but it just won't compile right now because we're not allowed to put those characters in the tss query.
|Screen Shot 2014-10-03 at 3.34.28 PM.png||2014-10-03T19:58:58.000+0000||252219|