mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
add 'viewport' option to popover docs; #12328 erratum
This commit is contained in:
parent
99f6f700f4
commit
90cfa1a44d
1 changed files with 8 additions and 0 deletions
|
@ -220,6 +220,14 @@ $('.popover-dismiss').popover({
|
|||
<td>'click'</td>
|
||||
<td>How popover is triggered - click | hover | focus | manual</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>viewport</td>
|
||||
<td>string | object</td>
|
||||
<td>{ selector: 'body', padding: 0 }</td>
|
||||
<td>
|
||||
<p>Keeps the popover within the bounds of this element. Example: <code>viewport: '#viewport'</code> or <code>{ selector: '#viewport', padding: 0 }</code></p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div><!-- /.table-responsive -->
|
||||
|
|
Loading…
Add table
Reference in a new issue