Rating Component Documentation

Rating Component

jQuery Raty - A Star Rating Plugin

Initialization

Initialize the plugin by referencing the necessary files:

<script src="jquery.raty.js"></script>
<link rel="stylesheet" type="text/css" href="jquery.raty.css">

Code Structure

The component will bind to any existing DOM element

<div id="star-rating"></div>

3. Basic usage may look something like this.

$('#star-rating').raty();