hredwan / wakandaratings

The wakandaratings widget is based on the rateit library, for more details please see http://rateit.codeplex.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom Widget for Wakanda

The wakandaratings widget is based on the rateit library, for more details please see http://rateit.codeplex.com/

Properties

This wakandaratings widget has the following properties:

  • max: the max wakandaratings value (default: 5).
  • step: step size (default: 1).
  • value: current rating value (default: 2).
  • resetable: show a reste button (default: true).
  • readOnly: set the widget as read-only (default: false).

Events:

This wakandaratings widget has an events:

  • change: fired when the user rates something.

Goals

The wakandaratings widget allows you to easily add rating feature to your Wakanda application, e.g: rate article, products, reviews...

Wakanda Studio

Model

1. Create a datasource  D
2. Add attribute string S1
3. save your model. 

Custom Widget

1. Drag the widget to your Wakanda page. 
2. a box will appear.
3. Drop the datasource string attribute S1 inside the widget or change the property's panel Datasource "Source", and fill in the Max Value.
4. save your page
5. run your page 
6. wakandaratings Widget will appear.
 

More Information

For more information on how to install a custom widget, refer to Installing a Custom Widget.

For more information about Custom Widgets, refer to Custom Widgets in the Architecture of Wakanda Applications manual.

About

The wakandaratings widget is based on the rateit library, for more details please see http://rateit.codeplex.com/


Languages

Language:JavaScript 54.3%Language:CSS 45.7%