Star Rating (Raty) Number Editor
Interactive star rating control that converts numeric selection into visual feedback. Supports half-star increments and custom star elements.
Activation Conditions
"type": "number"or"type": "integer""x-format": "raty"property defined- Raty.js library loaded (
window.Raty) - Plugin: Raty.js on GitHub
Plugin Options
Options can be passed to the plugin via "x-raty" keyword
"x-raty.half"- Enables selection of half-star values when true"x-raty.starType"- Defines HTML tag used for star elements (default: 'i')
Example
{
"title": "Raty",
"type": "number",
"description": "Raty - A Star Rating Plugin",
"default": 3,
"minimum": 0.5,
"x-format": "raty",
"x-raty": {
"half": true,
"starType": "i"
}
}