aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/_includes/js/popovers.html7
-rw-r--r--docs/_includes/js/tooltips.html5
2 files changed, 9 insertions, 3 deletions
diff --git a/docs/_includes/js/popovers.html b/docs/_includes/js/popovers.html
index ab3d9fea0..110bc3715 100644
--- a/docs/_includes/js/popovers.html
+++ b/docs/_includes/js/popovers.html
@@ -164,7 +164,7 @@ sagittis lacus vel augue laoreet rutrum faucibus.">
<td>''</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>
+ <p>If a function is given, it will be called with its <code>this</code> reference set to the element that the popover is attached to.</p>
</td>
</tr>
<tr>
@@ -211,7 +211,10 @@ sagittis lacus vel augue laoreet rutrum faucibus.">
<td>title</td>
<td>string | function</td>
<td>''</td>
- <td>Default title value if <code>title</code> attribute isn't present</td>
+ <td>
+ <p>Default title value if <code>title</code> attribute isn't present.</p>
+ <p>If a function is given, it will be called with its <code>this</code> reference set to the element that the popover is attached to.</p>
+ </td>
</tr>
<tr>
<td>trigger</td>
diff --git a/docs/_includes/js/tooltips.html b/docs/_includes/js/tooltips.html
index 80e0ce714..0b3ab57d0 100644
--- a/docs/_includes/js/tooltips.html
+++ b/docs/_includes/js/tooltips.html
@@ -142,7 +142,10 @@ $('#example').tooltip(options)
<td>title</td>
<td>string | function</td>
<td>''</td>
- <td>Default title value if <code>title</code> attribute isn't present</td>
+ <td>
+ <p>Default title value if <code>title</code> attribute isn't present.</p>
+ <p>If a function is given, it will be called with its <code>this</code> reference set to the element that the tooltip is attached to.</p>
+ </td>
</tr>
<tr>
<td>trigger</td>