Comments (1)
I've found the solution. I used a setRating function. Just in case someone has the same issue
// set rating example
$('your-selector').starRating('setRating', 2.5)
// set rating and round
$('your-selector').starRating('setRating', 2.8, true) // 3.0
from star-rating-svg.
Related Issues (20)
- Dynamic initial vlue HOT 3
- Stars appear black on iOS HOT 2
- content loaded through ajax HOT 1
- Now it does not working with Chrome 73.0.3683.103 HOT 1
- Stars not displayed HOT 2
- Custom polygon HOT 1
- Stars don't change size + are displayed vertically HOT 2
- If you vote a high value and then vote a low value, the stars do not change to low value HOT 5
- Found and fixed issue when using setRating option HOT 1
- Decrease rank not visible but rank changed HOT 1
- disableAfterRate cannot enter a lower rating HOT 5
- setRating HOT 1
- Can't change the ratedColor HOT 7
- How can I save the currentRating in rails
- disableAfterRate: false => allows me to edit only to raise stars up not to get it down HOT 4
- SVGs generates zyllion validation errors
- Unexpected behavior in "disableAfterRate: false" HOT 2
- starRating 0/zero, not working
- Unset method doesn't work properly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from star-rating-svg.