aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-03-28 11:57:07 -0700
committerChris Rebert <[email protected]>2014-03-28 11:57:07 -0700
commit28e6c34268b70a0aa3cf32321fecfba568248dbe (patch)
treee8f5015e6e10be8324baabc740d287236337115e /docs/_includes
parentd178a9581be35ff9a5f7eda9e06e5431802f6005 (diff)
parent361f452ed42d04c565de41ffca018fff5b35295c (diff)
downloadbootstrap-28e6c34268b70a0aa3cf32321fecfba568248dbe.tar.xz
bootstrap-28e6c34268b70a0aa3cf32321fecfba568248dbe.zip
Merge pull request #13190 from twbs/fix-13175
doc that popover content() is given the element as an arg
Diffstat (limited to 'docs/_includes')
-rw-r--r--docs/_includes/js/popovers.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/_includes/js/popovers.html b/docs/_includes/js/popovers.html
index 739d86bce..95868af1a 100644
--- a/docs/_includes/js/popovers.html
+++ b/docs/_includes/js/popovers.html
@@ -193,7 +193,10 @@ $('.popover-dismiss').popover({
<td>content</td>
<td>string | function</td>
<td>''</td>
- <td>Default content value if <code>data-content</code> attribute isn't present</td>
+ <td>
+ <p>Default content value if <code>data-content</code> attribute isn't present.</p>
+ <p>If a function is given, it will be called with 1 argument, which is the element that the popover is attached to.</p>
+ </td>
</tr>
<tr>
<td>delay</td>