-
Notifications
You must be signed in to change notification settings - Fork 154
Open
Labels
Description
When trying to apply custom event handlers, sometimes the html isn't ready and they aren't attached.
$('.rating-input').on('mouseenter', 'i', function () {
// do some cool stuff
});This happens due to the asynchronous nature of the execution on the code.
I think that the best way to fix it is to add some custom events to the library like:
[ ] Ready - After html rendered
[ ] Mouse over
[ ] Mouse out
[ ] Mouse click
I can add there handlers if my changes are accepted..
Reactions are currently unavailable