From 74a49cf5dd26e316982a45e3d0940131acc15c54 Mon Sep 17 00:00:00 2001 From: Josh Johnson Date: Thu, 4 Aug 2016 14:54:22 +0100 Subject: [PATCH] Add highlight callback examples to demo --- index.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.html b/index.html index 06f427e..9c46b41 100644 --- a/index.html +++ b/index.html @@ -164,6 +164,12 @@ editItems: true, maxItemCount: 5, removeItemButton: true, + callbackOnHighlightItem: function(id, value, passedInput) { + console.log(value); + }, + callbackOnUnhighlightItem: function(id, value, passedInput) { + console.log(value); + }, }); console.log(example1.getValue());