Skip to content

Commit 49484b5

Browse files
committed
Documented modal change for Semantic-Org/Semantic-UI#3168
1 parent 7197e9d commit 49484b5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

server/documents/modules/modal.html.eco

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ themes : ['Default', 'Material']
494494
<h4 class="ui header">Approve / Deny Callbacks</h4>
495495
<p>Modals will automatically tie approve deny callbacks to any positive/approve, negative/deny or ok/cancel buttons.
496496
<div class="ui ignored info message">
497-
If <code>onDeny</code> or <code>onApprove</code> returns false it will prevent the modal from closing
497+
If <code>onDeny</code>, <code>onApprove</code> or <code>onHide</code> returns false it will prevent the modal from closing
498498
</div>
499499
<div class="code" data-demo="true">
500500
$('.ui.basic.test.modal')
@@ -802,9 +802,9 @@ themes : ['Default', 'Material']
802802
<td>Is called after a modal has finished showing animating.</td>
803803
</tr>
804804
<tr>
805-
<td>onHide</td>
805+
<td>onHide($element)</td>
806806
<td>Modal</td>
807-
<td>Is called after a modal starts to hide.</td>
807+
<td>Is called after a modal starts to hide. If the function returns <code>false</code>, the modal will not hide.</td>
808808
</tr>
809809
<tr>
810810
<td>onHidden</td>

0 commit comments

Comments
 (0)