diff --git a/docs/_includes/js/popovers.html b/docs/_includes/js/popovers.html index ab3d9fea0774e6787b0f2eeb6e623fb2d0685e18..110bc37158635d81d5d11b5e1b4dc19d089eea28 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 80e0ce71400a5374936eb91f35c9d1d1c5339ae5..0b3ab57d0af7436d73e29d2e3eb6cf5387d18898 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>