Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
fixes #1499 by correcting placard event names
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinparkerson committed Sep 28, 2015
1 parent 1a3b5b0 commit b26d40e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _includes/js/placard.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,11 @@ <h3 id="placard-usage-events">Events</h3>
</thead>
<tbody>
<tr>
<td>accept.fu.placard</td>
<td>accepted.fu.placard</td>
<td>Fires when the user indicates the desire to 'accept' changes. This event fires after the <code>onAccept</code> function, if defined.</td>
</tr>
<tr>
<td>cancel.fu.placard</td>
<td>canceled.fu.placard</td>
<td>Fires when the user indicates the desire to 'cancel' changes. This event fires after the <code>onCancel</code> function, if defined.</td>
</tr>
<tr>
Expand All @@ -210,7 +210,7 @@ <h3 id="placard-usage-events">Events</h3>
</div><!-- ./fu-table-responsive -->
<p>All placard events are fired on the <code>.placard</code> classed element.</p>
{% highlight js %}
$('#myPlacard').on('accept.fu.placard', function () {
$('#myPlacard').on('accepted.fu.placard', function () {
// do something…
});
{% endhighlight %}
Expand Down

0 comments on commit b26d40e

Please sign in to comment.