ui

A namespace that exposes UI widget objects as well as methods specifying information on the current device.

dialog

A object that provides methods for displaying a message in an application/site.

initViewport(options)

Sets parameters for the viewport meta tag.

Parameters:
options: Object

An object specifying whether to enable or disable pinch-zooming and panning gestures within a mobile browser's view port.

Object structure:
allowZoom: Boolean

Specifies whether or not to enable pinch-zooming in a mobile browser's view port.

allowPan: Boolean

Specifies whether or not to enable panning on the vertical and horizontal axes in a mobile browser's view port.

allowSelection: Boolean

Specifies whether or not to enable selection in a mobile browser's view port.

notify(message, type, displayTime)

Creates a toast message.

Parameters:
message: String

A string value specifying the message text.

type: String

A string value specifying the message type.

displayTime: Number

A numeric value specifying the time span during which the message is shown.

The type parameter can take on one of the following values: 'info'|'warning'|'error'|'success'.

Show Example:
jQuery