mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Merge pull request #14256 from twbs/fix-14224
Correctly doc args passed to function vals for `title` & `content` options of tooltips+popovers
This commit is contained in:
commit
86d698f4e4
@ -164,7 +164,7 @@ sagittis lacus vel augue laoreet rutrum faucibus.">
|
|||||||
<td>''</td>
|
<td>''</td>
|
||||||
<td>
|
<td>
|
||||||
<p>Default content value if <code>data-content</code> attribute isn't present.</p>
|
<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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -211,7 +211,10 @@ sagittis lacus vel augue laoreet rutrum faucibus.">
|
|||||||
<td>title</td>
|
<td>title</td>
|
||||||
<td>string | function</td>
|
<td>string | function</td>
|
||||||
<td>''</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>
|
||||||
<tr>
|
<tr>
|
||||||
<td>trigger</td>
|
<td>trigger</td>
|
||||||
|
@ -142,7 +142,10 @@ $('#example').tooltip(options)
|
|||||||
<td>title</td>
|
<td>title</td>
|
||||||
<td>string | function</td>
|
<td>string | function</td>
|
||||||
<td>''</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>
|
||||||
<tr>
|
<tr>
|
||||||
<td>trigger</td>
|
<td>trigger</td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user