Commit 361f452e authored by Chris Rebert's avatar Chris Rebert
Browse files

doc that popover content() is given the element as an arg; fix #13175

parent c692c29c
Showing with 4 additions and 1 deletion
+4 -1
......@@ -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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment