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
{{ message }}
This repository was archived by the owner on Mar 20, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: index.html
+10-10
Original file line number
Diff line number
Diff line change
@@ -165,32 +165,32 @@ <h2>Options</h2>
165
165
<sectionid="api">
166
166
<h2>Public methods</h2>
167
167
<dl>
168
+
<dt>.align()</dt>
169
+
<dd>
170
+
Repositions the window to the center of the modal window parent.
171
+
</dd>
168
172
<dt>.open([content][, callback])</dt>
169
173
<dd>
170
174
Opens the modal window. <var>Content</var> Passed to the <code>.update()</code> method.
171
175
<var>Callback</var> A function to call once the window has opened.
172
176
</dd>
173
-
<dt>.close([callback])</dt>
174
-
<dd>
175
-
Closes the modal window and removes the content. <var>Callback</var> A function to call once the
176
-
window has closed.
177
-
</dd>
178
177
<dt>.update(content[, callback])</dt>
179
178
<dd>
180
179
Updates the contents of the modal window. <var>Content</var> Set the content of the modal window
181
180
via jQuery's <ahref="http://api.jquery.com/html/#html2">.html()</a> method. <var>Callback</var> A
182
181
function to call once the window has been updated. The <code>.align()</code> method will be called
183
182
if the window is open.
184
183
</dd>
185
-
<dt>.align()</dt>
186
-
<dd>
187
-
Repositions the window to the center of the modal window parent.
188
-
</dd>
189
184
<dt>.resize(width, height)</dt>
190
185
<dd>
191
186
Resizes the modal window content area. <var>Width</var> and <var>Height</var> can be any unit
192
187
compatible with the <ahref="http://api.jquery.com/category/dimensions/">jQuery Dimensions</a> API.
193
188
</dd>
189
+
<dt>.hide([callback])</dt>
190
+
<dd>
191
+
Hides the modal window and removes event listeners. <var>Callback</var> A function to call once the
192
+
window has closed.
193
+
</dd>
194
194
<dt>A note on callbacks:</dt>
195
195
<dd>
196
196
All callbacks will be called from the scope of the modal instance, so that <code>this</code> will
@@ -206,7 +206,7 @@ <h2>Public methods</h2>
206
206
<imgstyle="position:absolute; top:0; right:0; border:0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" />
0 commit comments