lavkach3
1$(function () {2$.fn.raty.defaults.path = "../assets/images/rating/";3
4// Default5$("#default-star-rating").raty();6
7// Default Score8$("#score-rating").raty({9score: 3,10});11
12// Number of stars13$("#no-of-stars").raty({14number: 10,15});16
17// Maximum number of stars18$("#max-number-stars").raty({19numberMax: 5,20number: 100,21});22
23// Read Only24$("#read-only-stars").raty({25readOnly: true,26score: 3,27});28
29// No Rated Message30$("#no-rated-msg").raty({31half: true,32readOnly: true,33});34
35// Cancel Star36$("#cancel-star").raty({37cancel: true,38});39
40// Space41$("#space-star").raty({42space: false,43});44
45// Single46$("#single-star").raty({47single: true,48});49
50// Half Star51$("#half-star").raty({52half: true,53});54
55// Star Half56$("#star-half").raty({57half: true,58starHalf: "star-half-mono.png",59});60
61// Round Enabled62$("#round-enabled").raty({63score: 3.26,64});65
66// Round Disabled67$("#round-disabled").raty({68halfShow: false,69score: 3.26,70});71
72// Custom Icon73$("#custom-icon-star").raty({74starOff: "heart.png",75starOn: "like.png",76});77
78// Icon Range79$("#icon-range").raty({80iconRange: [81{82range: 1,83on: "ti ti-cloud-rain fs-7",84off: "ti ti-cloud fs-7",85},86{87range: 2,88on: "ti ti-cloud-rain fs-7",89off: "ti ti-cloud fs-7",90},91{92range: 3,93on: "ti ti-cloud-rain fs-7",94off: "ti ti-cloud fs-7",95},96{97range: 4,98on: "ti ti-cloud-rain fs-7",99off: "ti ti-cloud fs-7",100},101{102range: 5,103on: "ti ti-cloud-rain fs-7",104off: "ti ti-cloud fs-7",105},106],107starType: "i",108});109});110