-
|
Hi I'm trying to have a "star rating" component on my html page: Does someone have any advice / best practice on how to achieve that ? ideas: Is there a working example somewhere? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
for those who are interested, a working collection of rating stars https://codepen.io/GATIGA/pen/mdBaGGr ( I guess there's an issue: #811 (comment) ) so I found a turnaround using expressions for the name |
Beta Was this translation helpful? Give feedback.
-
|
This is a bit of a hack, but you could do it with a |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the example, stars are even more nice :) |
Beta Was this translation helpful? Give feedback.
This is a bit of a hack, but you could do it with a
<meter>, taking advantage of Mavo's special handling for editing<meter>elements. Here is a demo with a<meter>styled to look like a star rating widget: https://codepen.io/leaverou/pen/ZEXVVvjYou could use any other emoji, not just stars. Or any SVG icon!