sb.resolveDataKey

sb.resolveDataKey(key1 [, key2, ...])

This function allows JS scripts to resolve Storyboard context variables to a fully qualified name based on the current execution context.

Parameters:
    key1         One or more string arguments containing the variable to resolve.

Returns:
    An object containing the arguments provided on input as keys with the values being the resolved data value.
Example:

// Resolve the application my_var to a fully qualified name
var varname = "${app:my_var}";
var dv = sb.resolveDataKey(varname);
print("Full path for ${app:my_var} is " + dv.varname);
Was this article helpful?
0 out of 0 found this helpful