diff --git a/docs/_includes/js/overview.html b/docs/_includes/js/overview.html index 3aaba0980780376caf8622722812e09b2858790f..64cef7ab8c94f9e1d6e79aed0404dce48db2e65c 100644 --- a/docs/_includes/js/overview.html +++ b/docs/_includes/js/overview.html @@ -47,6 +47,13 @@ $('#myModal').modal('show') // initializes and invokes show immed <p>Each plugin also exposes its raw constructor on a <code>Constructor</code> property: <code>$.fn.popover.Constructor</code>. If you'd like to get a particular plugin instance, retrieve it directly from an element: <code>$('[rel="popover"]').data('popover')</code>.</p> + <h4>Default Settings</h4> + <p>You can override the default settings for a plugin by accessing them through the <code>Constructor.DEFAULTS</code> property.<p> + +{% highlight js %} +$.fn.modal.Constructor.DEFAULTS.keyboard = false // changes default modal keyboard option +{% endhighlight %} + <h3 id="js-noconflict">No conflict</h3> <p>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 <code>.noConflict</code> on the plugin you wish to revert the value of.</p> {% highlight js %}