OpenWGA 7.4 - TMLScript reference
DesignMethod :
getScriptModule(codeType)
| On object | Design |
| Usage | Returns a WGAPI script module object for a module at this designs base reference |
| Description |
This retrieves a script module of the name that is stored in the design contexts base reference and the given code type. Use this together with Design.resolve() to retrieve script modules in a way that takes relative WebTML addressions and overlay adressation into account. |
| Parameters |
codeType (String): The scipts code type: "tmlscript", "js", "css" or "xml" |
| Return value | A WGAPI script module object or null if none was found |
| Allowed in script types |
|