Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
90cfa1a4
Commit
90cfa1a4
authored
10 years ago
by
Chris Rebert
Browse files
Options
Download
Email Patches
Plain Diff
add 'viewport' option to popover docs; #12328 erratum
parent
99f6f700
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/_includes/js/popovers.html
+8
-0
docs/_includes/js/popovers.html
with
8 additions
and
0 deletions
+8
-0
docs/_includes/js/popovers.html
+
8
-
0
View file @
90cfa1a4
...
...
@@ -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 -->
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment