diff options
| author | Chris Rebert <[email protected]> | 2014-03-28 11:57:07 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-03-28 11:57:07 -0700 |
| commit | 28e6c34268b70a0aa3cf32321fecfba568248dbe (patch) | |
| tree | e8f5015e6e10be8324baabc740d287236337115e /docs/_includes | |
| parent | d178a9581be35ff9a5f7eda9e06e5431802f6005 (diff) | |
| parent | 361f452ed42d04c565de41ffca018fff5b35295c (diff) | |
| download | bootstrap-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.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> |
