OSH.Utils
Methods
-
staticOSH.Utils.addCss(div, css)
-
Add a css class to a the div given as argument.
Name Type Description divthe div to add the class to
cssthe css class to add
-
staticOSH.Utils.GetResultObject(resultStructure){Object}
-
Name Type Description resultStructureReturns:
Type Description Object -
staticOSH.Utils.getXCursorPosition(){*}
-
Returns:
Type Description * -
staticOSH.Utils.getYCursorPosition(){*}
-
Returns:
Type Description * -
staticOSH.Utils.isArrayIntersect(a, b){boolean}
-
Name Type Description abReturns:
Type Description boolean -
staticOSH.Utils.isBlink(){*|boolean}
-
Returns:
Type Description * | boolean -
staticOSH.Utils.isChrome(){boolean}
-
Returns:
Type Description boolean -
staticOSH.Utils.isElement(o){boolean}
-
Name Type Description oReturns:
Type Description boolean -
staticOSH.Utils.isFirefox(){boolean}
-
Returns:
Type Description boolean -
staticOSH.Utils.isIE(){boolean}
-
Returns:
Type Description boolean -
staticOSH.Utils.isOpera(){boolean}
-
Returns:
Type Description boolean -
staticOSH.Utils.isSafari(){boolean}
-
Returns:
Type Description boolean -
staticOSH.Utils.isWebWorker(){*}
-
Returns:
Type Description * -
staticOSH.Utils.jsonix_XML2JSON(xmlStr){*}
-
Name Type Description xmlStrReturns:
Type Description * -
staticOSH.Utils.ParseBytes(buffer, offset, type){*}
-
Name Type Description bufferoffsettypeReturns:
Type Description * -
staticOSH.Utils.randomUUID(){string}
-
Returns:
Type Description string -
staticOSH.Utils.ReadData(struct, data, offsetBytes){*}
-
Name Type Description structdataoffsetBytesReturns:
Type Description * -
staticOSH.Utils.removeCss(div, css)
-
Remove a css class from a the div given as argument.
Name Type Description divthe div to remove the class from
cssthe css class to remove
-
staticOSH.Utils.stampUUID(){string}
-
This function stamps/embeds a UUID into an object and returns the UUID generated for it
Returns:
Type Description string -
staticOSH.Utils.takeScreeshot(div)
-
Name Type Description div