Places API Reference

Contents

UI API

 
nokia

Data API

 
nokia

jsMotif

 
jsMotif

Class nokia.places.modules.Module

Class Summary

Module is the base class for components that implement the behavior (and actions) for template-defined UI. This method creates new instace of the class Module.

Note that any initialization arguments that you require for this class and classes that extend it must be included as part of the initialization object passed to the appropriate widget constructor - see also moduleParams under nokia.places.Widget.

Constructor Detail

Module is the base class for components that implement the behavior (and actions) for template-defined UI. This method creates new instace of the class Module.

Note that any initialization arguments that you require for this class and classes that extend it must be included as part of the initialization object passed to the appropriate widget constructor - see also moduleParams under nokia.places.Widget.

new nokia.places.modules.Module(params)
Parameters:
{Object} params
An initialization object with the following properties:
  • relMap - a map object relating the rel attributes and the DOM elements to which they apply
  • data - data for to be rendered (displayed) using a template
  • node - the parent DOM node for the given module
  • template - the template object which renders the given module

Copyright © 2011 Nokia. All rights reserved. Terms and Conditions