Invoke function after slide complete when using jQuery UI hide(slide)

Invoke function after slide complete when using jQuery UI hide(slide)

When using the jQuery UI hide(slide), how do I invoke a function after the slide is complete?

The arguments permitted are direction, distance and mode but what about a function?

  1. $("div").click(function () { $(this).hide("slide", { direction: "down" }, 1000); });