JavaScript

A5u Namespace

Description

The namespace for utility methods and properties.

Name
Description
A5.u.css Namespace

The namespace for utility methods and properties for CSS.

A5.u.element Namespace

The namespace for utility methods for element manipulation.

A5.u.html Namespace

The namespace for utility methods for manipulation of HTML strings.

A5.u.icon Namespace

The namespace for utility methods for icon creation and updating.

A5.u.json Namespace

The namespace for utility methods for manipulation of objects or arrays before or after being converted to JSON.

A5.u.object Namespace

The namespace for utility methods for object manipulation.

A5.u.template Namespace

The namespace for template methods and properties.

Methods

convertUnits Method

Convert a CSS size from one unit to another. Unit types that can be converted between are "px", "in", "pt", "pc", "cm" and "mm".

getUniqueId Method

Returns a unique ID. Used if you are creating an HTML element on the fly and need an ID that will be unique.