You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The jQuery dependency was dropped, so the syntax to start Raty was changed, check the UPGRADE.md;
The global configuration $.raty.option = 'value' was removed;
The callback click, mouseover, and mouseout now has the this scope being the Raty class instance and the following arguments: score, element, the event;
The callback number, readOnly, score, scoreName, target, and path, now has the this scope being the Raty class instance and the single argument: element;
The functions now are called from the Raty instance;
When clickfunction is called, we don't really have an original event, so instead to receive a fake event new Event('click'), an undefined value is provided.
Update
The read-only function now uses pointerEvents over unbind the listeners;