Skip to content

Commit

Permalink
add 'viewport' option to popover docs; #12328 erratum
Browse files Browse the repository at this point in the history
  • Loading branch information
cvrebert committed May 15, 2014
1 parent 99f6f70 commit 90cfa1a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/_includes/js/popovers.html
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,14 @@ <h3>Options</h3>
<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 -->
Expand Down

0 comments on commit 90cfa1a

Please sign in to comment.