From e8a5112b31b063db310e5176beb591f87fd5354d Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Wed, 25 Mar 2015 17:56:57 -0700 Subject: [PATCH] Document how to disable transitions in jQuery plugins; fixes #16069 [skip sauce] --- docs/_includes/js/transitions.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/_includes/js/transitions.html b/docs/_includes/js/transitions.html index 00b6914e14..08d9c3ab81 100644 --- a/docs/_includes/js/transitions.html +++ b/docs/_includes/js/transitions.html @@ -3,6 +3,13 @@

About transitions

For simple transition effects, include transition.js once alongside the other JS files. If you're using the compiled (or minified) bootstrap.js, there is no need to include this—it's already there.

+

What's inside

Transition.js is a basic helper for transitionEnd events as well as a CSS transition emulator. It's used by the other plugins to check for CSS transition support and to catch hanging transitions.

+ +

Disabling transitions

+

Transitions can be globally disabled using the following JavaScript snippet, which must come after transition.js (or bootstrap.js or bootstrap.min.js, as the case may be) has loaded:

+{% highlight js %} +$.support.transition = false +{% endhighlight %}