Added ability to get DOM element via first argument of "title" function #102

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
1 participant

It would be nice if "title" function would take original DOM element as first argument, because it would be very helpful in the case when we need to override original context for instance by using "$.proxy" function:

$('#example-callback').tipsy({title: $.proxy(function(el) { return el.getAttribute('original-title').toUpperCase(); } }, this));

@mdreizin mdreizin closed this Dec 12, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment