Store reference to rating object in input so the rating's internal functions are exposed, e.g. $('input').data('rating').setValue(4). The API could potentially be refactored to be something like $('input').rating('setValue', 4) but this much easier to implement.
If there's a way to access the internal API (especially setValue) and I'm just overlooking it, please let me know.
Store reference to rating object in input so the rating's internal functions are exposed, e.g.
$('input').data('rating').setValue(4)
. The API could potentially be refactored to be something like$('input').rating('setValue', 4)
but this much easier to implement.If there's a way to access the internal API (especially
setValue
) and I'm just overlooking it, please let me know.