Raty Mixin
Description
This Mixin is used to call a jquery plugin "raty" that will provide rendered stars for different uses:
Links
Name | Required | Java Type | Default Prefix | Default Value | Description |
---|---|---|---|---|---|
ratyOptions | false | JSONObject | prop | The options you want to pass onto the JQuery plugin 'raty' used for the rate | |
ratyRates | false | SelectModel | prop | the list of rates you want to be displayed/available. The SelectModel values must start from (0 if you want the possiblity of no rate or 1) and increase its value by 1 for each rate in case of an input to synchronize both | |
ratyValue | false | Float | prop | The value you want to setfor the raty plugin. | |
ratyStarOn | false | Asset | prop | The asset containing the image you want to be displayed for an active star icon. | |
ratyStarOff | false | Asset | prop | The asset containing the image you want to be displayed for an inactive star icon. | |
ratyCancelOn | false | Asset | prop | The asset containing the image you want to be displayed for an active cancel icon. | |
ratyCancelOff | false | Asset | prop | The asset containing the image you want to be displayed for an inactive cancel icon. | |
ratyLocation | false | TagLocation | prop | The string containing the literal ('before' or 'after') expression for the relative location of the Raty mixin refering to the input. |