From 4cf748b0179175ad478c8872f7ca902e9fcf1b14 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 7 Apr 2015 18:52:59 -0700 Subject: Carousel docs: fix typo in holder.js color --- docs/_includes/js/carousel.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/_includes') diff --git a/docs/_includes/js/carousel.html b/docs/_includes/js/carousel.html index 7d9d78367..02db93da2 100644 --- a/docs/_includes/js/carousel.html +++ b/docs/_includes/js/carousel.html @@ -110,7 +110,7 @@
- Third slide image + Third slide image diff --git a/docs/_includes/js/tooltips.html b/docs/_includes/js/tooltips.html index d606929ba..a8914b180 100644 --- a/docs/_includes/js/tooltips.html +++ b/docs/_includes/js/tooltips.html @@ -260,6 +260,10 @@ $('#example').tooltip(options) hidden.bs.tooltip This event is fired when the tooltip has finished being hidden from the user (will wait for CSS transitions to complete). + + inserted.bs.tooltip + This event is fired after the show.bs.tooltip event when the tooltip template has been added to the DOM. +
-- cgit v1.2.3 From 20b5e2476561b4029c8d12210ecf3a88a206234c Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Mon, 13 Apr 2015 20:43:59 -0400 Subject: affix plugin does not work within a pulled/pushed column This documents the limitation discussed in https://github.com/twbs/bootstrap/issues/12126: > When using column reordering and using the affix-plugin on an element positioned with push, the affix plugin doesn't work correctly - the element affected by the affix plugin is positioned to the left even when the element is in a column positioned on the right. Seems to affect Safari (tested in version 8) only. That issue has (unfortunately) been closed, so this at least documents the behavior. --- docs/_includes/js/affix.html | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/_includes') diff --git a/docs/_includes/js/affix.html b/docs/_includes/js/affix.html index 5eaed7028..c94efc03f 100644 --- a/docs/_includes/js/affix.html +++ b/docs/_includes/js/affix.html @@ -8,6 +8,7 @@

Usage

Use the affix plugin via data attributes or manually with your own JavaScript. In both situations, you must provide CSS for the positioning and width of your affixed content.

+

Note: Do not use the affix plugin on an element contained in a relatively positioned element, such as a pulled or pushed column, due to a Safari rendering bug.

Positioning via CSS

The affix plugin toggles between three classes, each representing a particular state: .affix, .affix-top, and .affix-bottom. You must provide the styles, with the exception of position: fixed; on .affix, for these classes yourself (independent of this plugin) to handle the actual positions.

-- cgit v1.2.3 From 21e94b037480c13380ea5d587947f98807c64dbf Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 14 Apr 2015 18:40:36 -0700 Subject: Update docs to account for #15755 --- docs/_includes/css/helpers.html | 1 - 1 file changed, 1 deletion(-) (limited to 'docs/_includes') diff --git a/docs/_includes/css/helpers.html b/docs/_includes/css/helpers.html index 40bb9d58b..2da68dffa 100644 --- a/docs/_includes/css/helpers.html +++ b/docs/_includes/css/helpers.html @@ -164,7 +164,6 @@ } .hidden { display: none !important; - visibility: hidden !important; } .invisible { visibility: hidden; -- cgit v1.2.3 From e949505b89ca146e3af0cf735e100c82703f1cda Mon Sep 17 00:00:00 2001 From: Adrien Siami Date: Wed, 25 Mar 2015 14:46:21 +0100 Subject: Allow viewport option to be a function Closes #16151 by merging a rebased version of it that adds docs and 1 more assertion. --- docs/_includes/js/popovers.html | 3 ++- docs/_includes/js/tooltips.html | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'docs/_includes') diff --git a/docs/_includes/js/popovers.html b/docs/_includes/js/popovers.html index dadddafc3..a782a1204 100644 --- a/docs/_includes/js/popovers.html +++ b/docs/_includes/js/popovers.html @@ -233,10 +233,11 @@ sagittis lacus vel augue laoreet rutrum faucibus."> viewport - string | object + string | object | function { selector: 'body', padding: 0 }

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

+

If a function is given, it is called with the triggering element DOM node as its only argument. The this context is set to the popover instance.

diff --git a/docs/_includes/js/tooltips.html b/docs/_includes/js/tooltips.html index a8914b180..5b399a5f3 100644 --- a/docs/_includes/js/tooltips.html +++ b/docs/_includes/js/tooltips.html @@ -199,10 +199,11 @@ $('#example').tooltip(options) viewport - string | object + string | object | function { selector: 'body', padding: 0 }

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

+

If a function is given, it is called with the triggering element DOM node as its only argument. The this context is set to the tooltip instance.

-- cgit v1.2.3 From d46f6dcbdc784fab3bd475cd9d559daa4cb60073 Mon Sep 17 00:00:00 2001 From: vsn4ik Date: Sat, 25 Apr 2015 12:52:22 +0300 Subject: DOCS: Separation of .dropdown and .dropup. --- docs/_includes/components/dropdowns.html | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) (limited to 'docs/_includes') diff --git a/docs/_includes/components/dropdowns.html b/docs/_includes/components/dropdowns.html index 2ad269282..4c7255d68 100644 --- a/docs/_includes/components/dropdowns.html +++ b/docs/_includes/components/dropdowns.html @@ -4,7 +4,7 @@

Toggleable, contextual menu for displaying lists of links. Made interactive with the dropdown JavaScript plugin.

-

Wrap the dropdown's trigger and the dropdown menu within .dropdown, or another element that declares position: relative;. Then add the menu's HTML. Dropdown menus can be changed to expand upwards (instead of downwards) by adding .dropup to the parent.

+

Wrap the dropdown's trigger and the dropdown menu within .dropdown, or another element that declares position: relative;. Then add the menu's HTML.

-
- - -
{% highlight html %} +{% endhighlight %} + +

Dropdown menus can be changed to expand upwards (instead of downwards) by adding .dropup to the parent.

+
+
+ + +
+
+{% highlight html %}