Following next is described the method for call another action from the script or an external library.
- lr.loadLibrary() is used to “include” a single file into the script, the code inside the included file will be loaded and evaluated.
All definitions inside it will be added to the global scope of runtime context.
It can be used for browser based libraries.
lr. loadLibrary (‘external.js’);