Skip to content

Instantly share code, notes, and snippets.

@devdays
Created February 26, 2015 17:48
Show Gist options
  • Save devdays/7365a7d5403899f40987 to your computer and use it in GitHub Desktop.
Save devdays/7365a7d5403899f40987 to your computer and use it in GitHub Desktop.
Private hover method for widget
_hover: function (event) {
$(event.target).toggleClass("ui-state-active", e.type === "mouseenter");
this._trigger("hover", event, {
hovered: $(e.target)
});
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment