diff options
-rw-r--r-- | awesomplete.js | 2 | ||||
-rw-r--r-- | index.html | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/awesomplete.js b/awesomplete.js index d8a09c1..bb93afa 100644 --- a/awesomplete.js +++ b/awesomplete.js @@ -176,6 +176,8 @@ _.prototype = { lis[i].setAttribute("aria-selected", "true"); this.status.textContent = lis[i].textContent; } + + $.fire(this.input, "awesomplete-highlight"); }, select: function (selected) { @@ -271,6 +271,11 @@ awesomplete.list = ["Ada", "Java", "JavaScript", "Brainfuck", "LOLCODE", "Node.j <td>The popup just closed.</td> <td>No</td> </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>No</td> + </tr> </tbody> </table> </section> |