Update read me

This commit is contained in:
Josh Johnson 2016-10-12 13:58:01 +01:00
parent fc46dc0fa1
commit 6ae33d1ee6

View file

@ -30,7 +30,7 @@ A vanilla, lightweight (~15kb gzipped 🎉), configurable select box/text input
const choices = new Choices(element);
// Pass reference
const choices = new Choices('[data-choice']);
const choices = new Choices('[data-trigger']);
const choices = new Choices('.js-choice');
// Pass jQuery element