ender-tipsy icon indicating copy to clipboard operation
ender-tipsy copied to clipboard

Cannot use autoWE, autoNS, or autoBounds unless called by chain

Open kmiyashiro opened this issue 14 years ago • 0 comments

In the original tipsy, you can call $.fn.tipsy.autoWE or one of the other builtin functions for the gravity option. You included those in ender.tipsy, but you can't access them via the top level functions since it's built in as a chainable function.

In order to call the chainable function, you must do something like this as a workaround:

$('a').tipsy({
    gravity: $('body').tipsy.autoWE
});

Would making tipsy a top level function work better? Can you still use it as a chainable function?

kmiyashiro avatar Aug 02 '11 04:08 kmiyashiro