[Pkg-javascript-commits] [d3-tip.js] 114/277: first pass at updating content docs

bhuvan krishna bhuvan-guest at moszumanska.debian.org
Thu Dec 8 06:57:22 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 2433a91aebac98e6677a5a98805cdb93473df2e5
Author: Justin Palmer <justin at github.com>
Date:   Sun Apr 21 15:32:38 2013 -0700

    first pass at updating content docs
---
 docs/updating-tooltip-content.md | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/docs/updating-tooltip-content.md b/docs/updating-tooltip-content.md
index 116c0fc..9de1782 100644
--- a/docs/updating-tooltip-content.md
+++ b/docs/updating-tooltip-content.md
@@ -1,3 +1,10 @@
 [API Documentation](index.md) ➤ Updating tooltip content
 
-# Updating tooltip content
\ No newline at end of file
+# Updating tooltip content
+
+### tip.html([content])
+Set or get a tip's HTML content.
+
+``` javascript
+var tip = d3.tip().html(function(d) { return "<span>" + d + "</span>" })
+```
\ 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