resolveJSName
Description
Returns the javascript built in object or user defined object.
Input / Parameter
name
The name of the javascript built in object to resolve. (example: document, window, document.body)
String/Text
-
-
Yes
Output
Returns the javascript built in object or user defined object that matches with the name param
Object
Example
In this example, we will get window object using resolveJSName function and put it inside console value to see the object in preview
Steps
- Drag a - buttoncomponent into the canvas and open the- Actiontab. Select the- pressevent of the button and drag the- consolefunction to the event flow.
- Call the function - resolveJSNameinside the- console's- valuesubflow.
- Add the value - windowon- nameparam in the- resolveJSNamefunction. 
Result
- Now click the button in preview, it will show the - windowobject on the console 
Links
Related Information
Last updated
