diff options
Diffstat (limited to 'docs/_includes/js/overview.html')
| -rw-r--r-- | docs/_includes/js/overview.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/_includes/js/overview.html b/docs/_includes/js/overview.html index b95bb6c5f..89030966c 100644 --- a/docs/_includes/js/overview.html +++ b/docs/_includes/js/overview.html @@ -70,6 +70,12 @@ $('#myModal').on('show.bs.modal', function (e) { }) {% endhighlight %} + <h3 id="js-version-nums">Version numbers</h3> + <p>The version of each of Bootstrap's jQuery plugins can be accessed via the <code>VERSION</code> property of the plugin's constructor. For example, for the tooltip plugin:</p> +{% highlight js %} +$.fn.tooltip.Constructor.VERSION // => "{{ site.current_version }}" +{% endhighlight %} + <h3 id="js-disabled">No special fallbacks when JavaScript is disabled</h3> <p>Bootstrap's plugins don't fall back particularly gracefully when JavaScript is disabled. If you care about the user experience in this case, use <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noscript"><code><noscript></code></a> to explain the situation (and how to re-enable JavaScript) to your users, and/or add your own custom fallbacks.</p> |
