From dcc3f82348136d605c1a6bbd1d0e067949d9b691 Mon Sep 17 00:00:00 2001 From: Josh Johnson Date: Thu, 29 Sep 2016 13:16:50 +0100 Subject: [PATCH] Documentation --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 34933f8..f36218d 100644 --- a/README.md +++ b/README.md @@ -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: