You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: javascript.html
+6-6
Original file line number
Diff line number
Diff line change
@@ -101,9 +101,9 @@ <h3>Options</h3>
101
101
<tbody>
102
102
<tr>
103
103
<td>backdrop</td>
104
-
<td>boolean</td>
104
+
<td>boolean, string</td>
105
105
<td>false</td>
106
-
<td>Includes a modal-backdrop element</td>
106
+
<td>Includes a modal-backdrop element. Set backdrop to <code>"static"</code> if you do not want the modal closed when the backdrop is clicked</td>
107
107
</tr>
108
108
<tr>
109
109
<td>keyboard</td>
@@ -122,7 +122,7 @@ <h3>Options</h3>
122
122
<h3>Markup</h3>
123
123
<p>You can activate modals on your page easily without having to write a single line of javascript. Just give an element a <code>data-controls-modal</code> attribute which corresponds to a modal element id, and when clicked, it will launch your modal. To add modal options, just include them as data attributes as well.</p>
<p><spanclass="label notice">Notice</span> If you want your modal to animate in and out, just add a <code>.fade</code> class to your <code>.modal</code> element (refer to the demo to see this in action).</p>
128
128
<h3>Methods</h3>
@@ -458,7 +458,7 @@ <h3>Options</h3>
458
458
</tr>
459
459
<tr>
460
460
<td>title</td>
461
-
<td>string | function</td>
461
+
<td>string, function</td>
462
462
<td>'title'</td>
463
463
<td>attribute or method for retrieving title text</td>
464
464
</tr>
@@ -575,13 +575,13 @@ <h3>Options</h3>
575
575
</tr>
576
576
<tr>
577
577
<td>title</td>
578
-
<td>string | function</td>
578
+
<td>string, function</td>
579
579
<td>'title'</td>
580
580
<td>attribute or method for retrieving title text</td>
581
581
</tr>
582
582
<tr>
583
583
<td>content</td>
584
-
<td>string | function</td>
584
+
<td>string, function</td>
585
585
<td>'data-content'</td>
586
586
<td>attribute or method for retrieving content text</td>
0 commit comments