Documentation

This commit is contained in:
Josh Johnson 2016-09-29 13:16:50 +01:00
parent 7d6ee4e0e5
commit dcc3f82348

View file

@ -420,6 +420,12 @@ const example = new Choices(element, {
**Usage:** Function to run each time an item is added/removed by a user.
### callbackOnSearch
**Type:** `Function` **Default:** `null` **Arguments:** `value, passedInput`
**Input types affected:** `select-one`, `select-multiple`
**Usage:** Function to run when a user types into an input to search choices.
## Methods
Methods can be called either directly or by chaining: