[Pkg-javascript-commits] [d3-tip.js] 107/277: document tip.show and	tip.hide
    bhuvan krishna 
    bhuvan-guest at moszumanska.debian.org
       
    Thu Dec  8 06:57:21 UTC 2016
    
    
  
This is an automated email from the git hooks/post-receive script.
bhuvan-guest pushed a commit to branch master
in repository d3-tip.js.
commit 371bffe8471a056df7df333d31ef86c4d409e96f
Author: Justin Palmer <justin at github.com>
Date:   Sun Apr 21 14:50:17 2013 -0700
    document tip.show and tip.hide
---
 docs/showing-and-hiding-tooltips.md | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/docs/showing-and-hiding-tooltips.md b/docs/showing-and-hiding-tooltips.md
index 5f5d1d2..031f7f8 100644
--- a/docs/showing-and-hiding-tooltips.md
+++ b/docs/showing-and-hiding-tooltips.md
@@ -1,3 +1,29 @@
 [API Documentation](index.md) ➤ Showing and hiding tooltips
 
-# Showing and hiding tooltips
\ No newline at end of file
+# Showing and hiding tooltips
+
+### tip.show
+Show a tooltip on the screen.
+
+``` javascript
+rect.on('mouseover', tip.show)
+```
+
+``` javascript
+rect.on('mouseover', function(d) {
+  tip.show(d)
+})
+```
+
+### tip.hide
+Hide a tooltip
+
+``` javascript
+rect.on('mouseout', tip.hide)
+```
+
+``` javascript
+rect.on('mouseout', function(d) {
+  tip.hide(d)
+})
+```
\ No newline at end of file
-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/d3-tip.js.git
    
    
More information about the Pkg-javascript-commits
mailing list