diff --git a/select2-latest.html b/select2-latest.html index 4731f68d..00cd1dd9 100644 --- a/select2-latest.html +++ b/select2-latest.html @@ -1419,6 +1419,26 @@ $("#tags").select2({ dropdownCssClassfunction/string Css class that will be added to select2's dropdown container + adaptContainerCssClassfunction + Function that filters/renames css classes as they are copied from the source tag to the select2 container tag. +
adaptContainerCssClass(clazz)
+ + + + +
ParameterTypeDescription
clazzstringCss class being copied
<returns>stringCss class to be applied or null/undefined/'' to not apply it
+ The default implementation applies all classes without modification. + + adaptDropdownCssClassfunction + Function that filters/renames css classes as they are copied from the source tag to the select2 dropdown tag. +
adaptDropdownCssClass(clazz)
+ + + + +
ParameterTypeDescription
clazzstringCss class being copied
<returns>stringCss class to be applied or null/undefined/'' to not apply it
+ The default implementation always returns null thereby filtering out all classes. + escapeMarkupfunction String escapeMarkup(String markup)

Function used to post-process markup returned from formatter functions. By default this function escapes html entities to prevent javascript injection.

diff --git a/select2-master b/select2-master index 2f53c251..6c4b9679 160000 --- a/select2-master +++ b/select2-master @@ -1 +1 @@ -Subproject commit 2f53c251d451d75b1572ca2cc61aecf2c92b5eae +Subproject commit 6c4b96791d95012a5abfe203ab344c6fd5ea8db8