Utility Functions
callFunction(fnString) ⇒ Object
ObjectParam
Type
Description
dateToString(date) ⇒ String
StringParam
Description
doesFileExist(urlToFile) ⇒ Boolean
BooleanParam
Description
downloadText(content, contentType, fileName)
Param
Type
Description
escapeHtml()
getFormattedValue(value, formatter) ⇒ String
StringParam
Type
Description
getNumber(value, precision) ⇒ Number
NumberParam
Default
Description
getObjectType(obj) ⇒ String
StringParam
Description
getRandomColor() ⇒ String
StringgetTemplateData(template, index, item, renderer) ⇒ String
StringParam
Type
Description
getToday() ⇒ Date
DategetTodayString()
getUUID() ⇒ String
StringifTag($container)
Param
Type
Description
ifUndefined(value, option) ⇒ Object
ObjectParam
Description
inIframe() ⇒ Boolean
BooleanisEmail(email, singel) ⇒ Boolean
BooleanParam
Type
Description
isEmpty(object) ⇒ Boolean
BooleanParam
Description
isIn() ⇒ Boolean
BooleanisNotEmpty(object) ⇒ Boolean
BooleanParam
Description
isNumeric()
isRunningStandalone() ⇒ Boolean
Booleanleft(str, n) ⇒ String
StringParam
Description
postToService(serviceURL, data, handleFunction)
Param
Type
Description
renderCode() ⇒ String
StringType
Description
replaceAll(target, search, replace) ⇒ String
StringParam
Description
right(str, n) ⇒ String
StringParam
Description
roundNumber(value, precision) ⇒ Number
NumberParam
Default
Description
sanitize(text) ⇒ String
StringParam
Type
Description
stringToDate(stringDate) ⇒ Date
DateParam
Description
Last updated

