Flamingo

The Flamingo object provides several top-level methods and namespaces.

Flamingo Methods

Method Description
dataUrl() Returns root path of the public contents available for project.
getBuild() Returns release identifier of the current mobile website.
getDocument() Returns DOM document object created by Flamingo engine.
getEncoding() Returns character encoding used on the current original page.
switchType() Implements switching between desktop and mobile views of the current page.
output() Modifies elements on the original page and outputs the result on the mobile page.

Flamingo Namespaces

Namespace Description
Device Provides methods for current device detection.
Utils Provides methods commonly used during site development.
XPath Provides methods for getting content from the original website by XPath.

See also