Skip to content

Commit

Permalink
Edited the show/hide callback parameter explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
louisameline committed Feb 24, 2014
1 parent ea690b6 commit 333106f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ <h3>Manually show and hide a tooltip</h3>
});
});
</pre>
<p>You may also provide a function as the callback parameter of the show/hide methods. The callback functions are called in the context of the tooltipstered element. Please note that if the show/hide action is somehow cancelled before it has completed, the callback function will never be called.</p>
<p>You may also provide a function as the callback parameter of the show/hide methods. The callback functions are called in the context of the tooltipstered element. If the tooltip is already in the state you are asking for (open/closed), the callback is executed immediately. Please note that if the show/hide action is somehow cancelled before it has completed its animation, the callback function will never be called.</p>
<pre class="prettyprint">
$(document).ready(function() {

Expand Down

0 comments on commit 333106f

Please sign in to comment.