Returns age in human readable format.
Decodes string using base64 method.
Encodes string using base64 method.
Binds events found as data-* tags to the current object
Verifies if specified name was already used in w2ui object.
checkUniqueId - checkUniqueId(id, items, itemsDescription, objName)
Verifies if specified id is unique within the set.
Clones an object or an array
cssPrefix - w2utils.cssPrefix(prop, val, returnString)
Adds browser specific prefixes and returns resulting css.
Returns date in human readable format.
Decodes HTML tags.
Encodes HTML tags.
Escapes id for the use in jQuery.
Fills out a template with provided variables
extend - extend(target, source1, source2, ...)
Extends an object or an array
Returns date in requested format.
Returns date and time in requested format.
formatNumber - formatNumber(val, [groupSymbol], [decimalSymbol])
Formats a number adding commas.
Formats a number as file size.
Returns time in requested format.
Returns cursor position in an input or contentEditable element.
Returns the size or absolute position of the element in px including padding, margin and border.
Returns width of the string in px.
Converts HSV to RGB color definition
Compares two strings and returns 0, 1, or -1.
Returns interval value in human readable format.
Returns true if str is alpha-numeric.
Returns true if str is a binary number.
isDate - isDate(str, [format], [returnDateObj])
Returns true if str is a date.
isDateTime - isDateTime(str, [format], [returnDateObj])
Returns true if str is a date and time.
Returns true if str is a valid email address.
Returns true if str is a float number.
Returns true if str is a hex number.
Returns true if str is a integer number.
Returns true if str is a IP v4.
Returns true if str is in money format.
Returns true if str is a valid time.
lang - lang(phrase, params);
Returns translation for the phrase.
locale - locale(locale, [keepPhrases]);
Loads a new locale.
lock - lock(box, message, showSpinner)
Locks HTML element.
message - message(where, [options])
Slides down a dialog that does not lock entire page.
Compares two strings and returns 0, 1, or -1.
Normalizes menu to a consistent array
Returns parsed color object.
Returns parsed route object.
Converts RGB to HSV color definition
Returns width of a scrollbar
Sets cursor position in an input or contentEditable element.
Calculated md5 hash
Removes all HTML tags.
Generates and encoded events for w2tag.
transition - transition(div_old, div_new, type, [callBack])
Transitions two absolute DIVs.
Unescapes id.
Unlocks HTML element.