Class nokia.places.ui.Template
Class Summary
The class Template extends the jsMotif templating engine with a DOM element
attribute module. The attribute can be used in templates to name the Places API
components that can, for example, assist in rendering HTML elements and/or define the behavior
of the user interface after the elements have been rendered. In addition, APITemplate
allows you to specify initialization parameters for each of the Places API UI components
referenced by the templates.
Method Summary
static
getModules
(name)
: object
This method searches for the module named by the caller.
static
hideSpinner
()
This method hides the spinner element.
static
render
(jsonObject, [targetElem])
This method renders an HTML template, using the data and the target element supplied by the caller.
static
renderObject
(node, jsonObject)
This method renders a single node in the template.
static
showSpinner
()
This method shows the spinner element.
Constructor Detail
The class Template extends the jsMotif templating engine with a DOM element
attribute module. The attribute can be used in templates to name the Places API
components that can, for example, assist in rendering HTML elements and/or define the behavior
of the user interface after the elements have been rendered. In addition, APITemplate
allows you to specify initialization parameters for each of the Places API UI components
referenced by the templates.
new nokia.places.ui.Template(params)
Method Detail
static
getModules
(name)
: object
static
render
(jsonObject, [targetElem])
static
renderObject
(node, jsonObject)
Documentation generated on Tue May 08 2012 10:23:34 GMT+0200 (CEST).