Places API Reference

Contents

UI API

 
nokia

Data API

 
nokia

jsMotif

 
jsMotif

Class nokia.places.modules.Gallery

Class Summary

This class represents a component that displays place-related images.

The template elements targeted by Gallery must have the attribute rel with one of the following values (as appropriate):

  • "gallery-list" - creates a list with thumbnails
  • "gallery-next" - scrolls the gallery list and loads the next thumbnail
  • "gallery-prev" - scrolls the gallery list and loads the previous thumbnail
  • "gallery-img" - displays a large image after a mouse click on a thumbnail

Constructor Detail

This class represents a component that displays place-related images.

The template elements targeted by Gallery must have the attribute rel with one of the following values (as appropriate):

  • "gallery-list" - creates a list with thumbnails
  • "gallery-next" - scrolls the gallery list and loads the next thumbnail
  • "gallery-prev" - scrolls the gallery list and loads the previous thumbnail
  • "gallery-img" - displays a large image after a mouse click on a thumbnail

new nokia.places.modules.Gallery(params)
Parameters:
{Object} params
An initialization object that can include parameters for nokia.places.components.ListComponent an may additionally include:

  • visible - a numeric value indicating how many images are visible; optional

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