From ff12a76e5aee26fda3452f88987c7d0d0c2c646a Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sun, 27 Jul 2014 16:18:59 -0700 Subject: Fix #14224: Correctly document args passed to function vals for `title` & `content` options of tooltips+popovers --- docs/_includes/js/tooltips.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docs/_includes/js/tooltips.html') diff --git a/docs/_includes/js/tooltips.html b/docs/_includes/js/tooltips.html index 33743c4c2..9e6c0b8e0 100644 --- a/docs/_includes/js/tooltips.html +++ b/docs/_includes/js/tooltips.html @@ -141,7 +141,10 @@ $('#example').tooltip(options) title string | function '' - Default title value if title attribute isn't present + +

Default title value if title attribute isn't present.

+

If a function is given, it will be called with its this reference set to the element that the tooltip is attached to.

+ trigger -- cgit v1.2.3