From 4f9582d70c2d0967c57984ee49cc64ce518f8871 Mon Sep 17 00:00:00 2001 From: Patrick Filler Date: Thu, 6 Feb 2014 21:33:39 -0500 Subject: [PATCH] Update the options copy to be a little more DRY --- public/options.html | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/public/options.html b/public/options.html index ffc9aa10b1c..9053cb86eaf 100644 --- a/public/options.html +++ b/public/options.html @@ -196,26 +196,30 @@

Example:

chosen:ready - after Chosen has been fully instantiated (it also sends the chosen object as a parameter). + after Chosen has been fully instantiated. chosen:maxselected - triggered if max_selected_options is set and that total is broken. (it also sends the chosen object as a parameter) + triggered if max_selected_options is set and that total is broken. chosen:showing_dropdown - triggered when Chosen's dropdown is opened (it also sends the chosen object as a parameter). + triggered when Chosen's dropdown is opened. chosen:hiding_dropdown - triggered when Chosen's dropdown is closed (it also sends the chosen object as a parameter). + triggered when Chosen's dropdown is closed. chosen:no_results - triggered when a search returns no matching results (it also sends the chosen object as a parameter). + triggered when a search returns no matching results. +

+ Note: all custom Chosen events (those that being with chosen:) also include the chosen object as a parameter. +

+

Triggerable Events

You can trigger several events on the original select field to invoke a behavior in Chosen.