Nokia Maps API Reference

Contents

Class nokia.places.ui.modules.List

Class Summary

This class represents a component that displays a list of objects. The class renders paged data and adds list navigation to the HTML after rendering.

A template element targeted by List must have the attribute rel with the values "list-data".

Direct Inheritance
Constructor Detail

This class represents a component that displays a list of objects. The class renders paged data and adds list navigation to the HTML after rendering.

A template element targeted by List must have the attribute rel with the values "list-data".

new nokia.places.ui.modules.List(params)
Parameters:
{Object} params An initialization object that can be specified via the nokia.places.Place initialization property "moduleParams" and can include parameters for nokia.places.ui.modules.Module as well as the following optional properties:
  • onRenderPage - a user-defined function to be called every time when page is rendered; the function receives as parameters the rendered items as an array and the page number
  • perPage - a numeric value specifying how many items should be rendered on single page (10 by default)
Documentation generated on Tue May 08 2012 10:23:48 GMT+0200 (CEST).