diff --git a/docs/_includes/nav/options-new.html b/docs/_includes/nav/options-new.html index 21b84e7a..c54afe1a 100644 --- a/docs/_includes/nav/options-new.html +++ b/docs/_includes/nav/options-new.html @@ -1,7 +1,7 @@ - Core Options + Core options Declaring configuration in the data-* attributes AMD compatibility @@ -51,7 +51,7 @@ Events - Public events + Public jQuery events Internal events diff --git a/docs/_includes/options-new/core/options.html b/docs/_includes/options-new/core/options.html index e14e6c37..c2a21a10 100644 --- a/docs/_includes/options-new/core/options.html +++ b/docs/_includes/options-new/core/options.html @@ -6,4 +6,12 @@ Can default options be set for all dropdowns? + + + How can I set a default value for a nested option? + + + + How can I reset all of the global default options? + \ No newline at end of file diff --git a/docs/_includes/options-new/events.html b/docs/_includes/options-new/events.html new file mode 100644 index 00000000..32f347cb --- /dev/null +++ b/docs/_includes/options-new/events.html @@ -0,0 +1,8 @@ + + + Events + + + {% include options-new/events/jquery.html %} + {% include options-new/events/internal.html %} + \ No newline at end of file diff --git a/docs/_includes/options-new/events/internal.html b/docs/_includes/options-new/events/internal.html new file mode 100644 index 00000000..df49d5c9 --- /dev/null +++ b/docs/_includes/options-new/events/internal.html @@ -0,0 +1,9 @@ + + + Internal Select2 events + + + + Select2 has an internal event system that works independently of the DOM event system. This internal event system is only accesssible from plugins and adapters that are connected to Select2. + + \ No newline at end of file diff --git a/docs/_includes/options-new/events/jquery.html b/docs/_includes/options-new/events/jquery.html new file mode 100644 index 00000000..d28fa93b --- /dev/null +++ b/docs/_includes/options-new/events/jquery.html @@ -0,0 +1,17 @@ + + + Public jQuery events + + + + What events will Select2 trigger? + + + + How can I attach listeners for these events? + + + + What events does Select2 listen for? + + \ No newline at end of file diff --git a/docs/options-new.html b/docs/options-new.html index f6877338..62ce143a 100644 --- a/docs/options-new.html +++ b/docs/options-new.html @@ -22,6 +22,7 @@ slug: options {% include options-new/core.html %} {% include options-new/data.html %} {% include options-new/selections.html %} + {% include options-new/events.html %} {% include nav/options-new.html %}
data-*
+ Select2 has an internal event system that works independently of the DOM event system. This internal event system is only accesssible from plugins and adapters that are connected to Select2. +