From: Chris Rebert Date: Sat, 27 Sep 2014 01:14:29 +0000 (-0700) Subject: Port #14250 over to hosted docs X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df6b99a2c6789fda25e497be94833d83b354dfc2;p=thirdparty%2Fbootstrap.git Port #14250 over to hosted docs --- diff --git a/javascript/index.html b/javascript/index.html index 7af45da886..6b8fea5761 100644 --- a/javascript/index.html +++ b/javascript/index.html @@ -144,6 +144,10 @@

Each plugin also exposes its raw constructor on a Constructor property: $.fn.popover.Constructor. If you'd like to get a particular plugin instance, retrieve it directly from an element: $('[rel="popover"]').data('popover').

+

Default settings

+

You can change the default settings for a plugin by modifying the plugin's Constructor.DEFAULTS object:

+

$.fn.modal.Constructor.DEFAULTS.keyboard = false // changes default for the modal plugin's `keyboard` option to false
+

No conflict

Sometimes it is necessary to use Bootstrap plugins with other UI frameworks. In these circumstances, namespace collisions can occasionally occur. If this happens, you may call .noConflict on the plugin you wish to revert the value of.

var bootstrapButton = $.fn.button.noConflict() // return $.fn.button to previously assigned value