diff options
| author | Chris Rebert <[email protected]> | 2014-03-26 12:49:15 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-03-26 12:49:15 -0700 |
| commit | 361f452ed42d04c565de41ffca018fff5b35295c (patch) | |
| tree | 23d36458ce6b0940eee5e53d8b34c5ac30a163ac /docs | |
| parent | c692c29c7d3dfd3209e3da14912dd5de634b1eac (diff) | |
| download | bootstrap-361f452ed42d04c565de41ffca018fff5b35295c.tar.xz bootstrap-361f452ed42d04c565de41ffca018fff5b35295c.zip | |
doc that popover content() is given the element as an arg; fix #13175
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/_includes/js/popovers.html | 5 |
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> |
