{{-- extend Layout --}} @extends('layouts.contentLayoutMaster') {{-- page title --}} @section('title','Ratings') {{-- vendor style --}} @section('vendor-style') @endsection {{-- page content --}} @section('content')
This is the most basic example of ratings.
This function is called whenever the rating is set.
This function is called whenever the rating is changed.
The background color for the un-rated part of a star.You can set this option using
data-rateyo-normal-fill
attribute.
The color for the rated part of a star.You can set this option using
data-rateyo-rated-fill
attribute.
Number of stars to use, to display the rating.You can set this option using
data-rateyo-num-stars
attribute.
The Maximum value, you want the rating to end with. You can set this option using
data-rateyo-max-value
attribute.
If you want the rating to be
non-editable.You can set this option using data-rateyo-read-only="true"
attribute.
The amount of space between stars in pixels.You can set this option using data-rateyo-spacing
attribute.
When set to true
, rating will be displayed in the
steps of 0.5
. You can set
this option using data-rateyo-half-star="true"
attribute.
When set to true
, rating will be displayed in the
steps of 1
.You can set this option using
data-rateyo-full-star="true"
attribute.
you can set this option using data-rateyo-multi-color="true"
attribute, This option
helps in changeing the color of the rating, as the
rating value changes(
Multi Color ).
The width of each star, the width of a star is always equal to its height.You can set this
option using data-rateyo-star-width
attribute.