From 11abb0f7e94771bcf604c72b34f6688e6aa3a290 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Wed, 12 Aug 2015 21:12:03 -0700 Subject: fix modal --- docs/components/tooltips.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'docs/components/tooltips.md') diff --git a/docs/components/tooltips.md b/docs/components/tooltips.md index 43ed68bda..6deaa4e0f 100644 --- a/docs/components/tooltips.md +++ b/docs/components/tooltips.md @@ -13,7 +13,7 @@ Inspired by the excellent Tipsy jQuery plugin written by Jason Frame. Tooltips a ## Overview -Things to know when using the popover plugin: +Things to know when using the tooltip plugin: - Tooltips are opt-in for performance reasons, so **you must initialize them yourself**. - Tooltips with zero-length titles are never displayed. @@ -24,7 +24,7 @@ Things to know when using the popover plugin: Got all that? Great, let's see how they work with some examples. -## Example: Enable popovers everywhere +## Example: Enable tooltips everywhere One way to initialize all tooltips on a page would be to select them by their `data-toggle` attribute: @@ -216,12 +216,16 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap How tooltip is triggered - click | hover | focus | manual. You may pass multiple triggers; separate them with a space. `manual` cannot be combined with any other trigger. - viewport - string | object - { selector: 'body', padding: 0 } - -

Keeps the tooltip within the bounds of this element. Example: viewport: '#viewport' or { "selector": "#viewport", "padding": 0 }

- + constraints + Array + 'hover focus' + An array of constraints - passed through to tether. For more information refer to tether's constraint docs. + + + offsets + string + '0 0' + Offset of the popover relative to it's target. For more information refer to tether's offset docs. -- cgit v1.2.3