Skip to content

Commit

Permalink
Merge pull request LeaVerou#16900 from jimf/document-event-params
Browse files Browse the repository at this point in the history
Add docs for event params
  • Loading branch information
LeaVerou authored Jun 25, 2016
2 parents a1b7bd3 + 147b384 commit 541e36a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -297,12 +297,12 @@ <h1>Events</h1>
<tbody>
<tr>
<td><code>awesomplete-select</code></td>
<td>The user has made a selection (either via pressing enter or clicking on an item), but it has not been applied yet.</td>
<td>The user has made a selection (either via pressing enter or clicking on an item), but it has not been applied yet. Callback will be passed an object with <code>text</code> (selected suggestion) and <code>origin</code> (DOM element) properties.</td>
<td>Yes. The selection will not be applied and the popup will not close.</td>
</tr>
<tr>
<td><code>awesomplete-selectcomplete</code></td>
<td>The user has made a selection (either via pressing enter or clicking on an item), and it has been applied.</td>
<td>The user has made a selection (either via pressing enter or clicking on an item), and it has been applied. Callback will be passed an object with a <code>text</code> property containing the selected suggestion.</td>
<td>No</td>
</tr>
<tr>
Expand All @@ -317,7 +317,7 @@ <h1>Events</h1>
</tr>
<tr>
<td><code>awesomplete-highlight</code></td>
<td>The highlighted item just changed (in response to pressing an arrow key or via an API call).</td>
<td>The highlighted item just changed (in response to pressing an arrow key or via an API call). Callback will be passed an object with a <code>text</code> property containing the highlighted suggestion.</td>
<td>No</td>
</tr>
</tbody>
Expand Down

0 comments on commit 541e36a

Please sign in to comment.