Flamingo API

Flamingo provides wide range of objects and methods that can be used by developers for making websites responsive.

Flamingo API syntax has some peculiarities specified below:

  • Use $ symbol to access parameters in templates. Template parameters always have name and value defined by XPath. Developers can specify them in the parameters section of the template code editor. Parameters can be nested.

Constants

Constant Description
__CONTENTS_ROOT__ Contains path to the public content available in project.

Flamingo Namespaces

Namespace Description
Flamingo Provides common methods and access to other namespaces.
Flamingo.Device Provides methods for current device detection.
Flamingo.Utils Provides methods not related to Flamingo, but commonly used when developing websites.
Flamingo.XPath Provides methods for getting content from the original website by XPath.
Flamingo.Selector Provides methods for getting CSS data from the original website.
Flamingo.Ajax Provides methods for processing HTML code received from the server.
Flamingo.Ajax.jQuery Provides methods for processing AJAX requests.
Flamingo.Ajax.jQuery.mobile Provides methods for processing AJAX requests.

See also