diff options
| author | Chris Rebert <[email protected]> | 2015-03-25 17:56:57 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2015-03-25 17:56:59 -0700 |
| commit | e8a5112b31b063db310e5176beb591f87fd5354d (patch) | |
| tree | 7e90bc3343a309f382381fb235016aa99775bd77 /docs | |
| parent | 2f3076f20acb6b34279b1ef77063a8fff33f756e (diff) | |
| download | bootstrap-e8a5112b31b063db310e5176beb591f87fd5354d.tar.xz bootstrap-e8a5112b31b063db310e5176beb591f87fd5354d.zip | |
Document how to disable transitions in jQuery plugins; fixes #16069
[skip sauce]
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/_includes/js/transitions.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/_includes/js/transitions.html b/docs/_includes/js/transitions.html index 00b6914e1..08d9c3ab8 100644 --- a/docs/_includes/js/transitions.html +++ b/docs/_includes/js/transitions.html @@ -3,6 +3,13 @@ <h2>About transitions</h2> <p>For simple transition effects, include <code>transition.js</code> once alongside the other JS files. If you're using the compiled (or minified) <code>bootstrap.js</code>, there is no need to include this—it's already there.</p> + <h2>What's inside</h2> <p>Transition.js is a basic helper for <code>transitionEnd</code> 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.</p> + + <h2>Disabling transitions</h2> + <p>Transitions can be globally disabled using the following JavaScript snippet, which must come after <code>transition.js</code> (or <code>bootstrap.js</code> or <code>bootstrap.min.js</code>, as the case may be) has loaded:</p> +{% highlight js %} +$.support.transition = false +{% endhighlight %} </div> |
