twitter/bootstrap — Issue #2133: Documentation: modal options
Author: chrisalexander
Created: 2012-02-21 13:42:25+00:00
State: open

The modal options documentation for 2.0 release does not fully describe the possible options. Back in 1.x it was possible to set the backdrop to "static" and hence clicking on the backdrop would not dismiss the modal. This is still possible in 2.0 but I had to go into the code to find out what the keyword was (as I had forgotten it) as it is not mentioned anywhere in the docs.

Current docs table:

Name	type	default	description
backdrop	boolean	true	Includes a modal-backdrop element
keyboard	boolean	true	Closes the modal when escape key is pressed
show	boolean	true	Shows the modal when initialized.