Namespace s7sdk.Util.lib
JavaScript library management functions
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<static> |
s7sdk.Util.lib.include(js, inHead)
Load JS file into the page.
|
Method Detail
<static>
s7sdk.Util.lib.include(js, inHead)
Load JS file into the page.
- Parameters:
- {String} js
- JS file name to add. It can be in either format com.scene7.JSFile or com/scene7/JSFile without ext .js.
- {Boolean} inHead
- Pass true for adding JS file in the head section.