Home Reference Source

References

libs

summary
public

This class is used to create web components

public

C Module

The main class, used to create a Modux module.

public

C Router

A static class which is responsible for handling state and url change Remember to remove <base/> in most common scenarios

utils

summary
public

This class is responsible for server communication using http requests

public

C Cookie

Static cookie class

public

An extenion of Date to DateTime

public

C Device

A static class which is used to get device information

public

C Font

A class used to load fonts

public

C Loader

The Loader class is used to preload files

public

C Logger

A class to mimic window.console

public

C Sounds

A class containing multiple Sound instances

public

C Url

This class is responsible for parsing and matching urls

public

F approx(num: Numeric, decimals: Numeric): Numeric

Used to approximate a number to a certain number of decimals

public

F extend(o1: Object, o2: Object): Object

Extends an object with another object

public

F html(text: String): HTMLElement

Convert string to html

public

F isNumber(value: mixed): Boolean

Checks if the value is a number

public

F isObject(o: mixed): Boolean

Checks if the object is an Object

public

F loop(collection: Object | Array, cb: Function): *

Loop through a collection Object or Array.

public

F radians(angle: Numeric): Numeric

Convert an angle from degrees to radians

public

F rnd(min: Number, max: Number): Number

Generate a random number between two values

public

F uid(): String

Generates a random unique identifier

public

Returns a singleton of the Loader

public

Returns a singleton of Logger

public

V scroll: {"scrollToTop": *, "elementScrollTo": *, "scrollTo": *}

A library used for scrolling window or an element

public

Returns a singleton of the Sounds

public

Contains the Adobe Blank font code to be used in testing

Directories