Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

DrY Rating

From Wiki
Jump to: navigation, search
Article Metadata
Code ExampleArticle
Created: symbianyucca (16 May 2010)
Last edited: hamishwillee (05 Jul 2012)
DrY Rating component is based on Guarana Rating implementation, and basically it implements same functionality as the Guarana Rating component does.

Following code snipped shows how it can be used:

var hw = new dry.Rating( {
value: 2,
styleTweaker: styleTweaker,

The constructor takes 2 items, where the second one is the name for the div where the Rating is placed in. The first argument is a struct defining the Rating properties and callback functions:

  • value: initial value set fort he ratings,
  • change: callback called when ratings value has changed,
  • styleTweaker: styleTweaker for handling the themes.


Component browser at

WRT example at Wiki: DrY

Go to DrY Index

This page was last modified on 5 July 2012, at 03:46.
31 page views in the last 30 days.