catch up to master
This commit is contained in:
parent
71b9857f46
commit
3abde64663
@ -1419,6 +1419,26 @@ $("#tags").select2({
|
|||||||
<tr><td>dropdownCssClass</td><td>function/string</td><td>
|
<tr><td>dropdownCssClass</td><td>function/string</td><td>
|
||||||
Css class that will be added to select2's dropdown container
|
Css class that will be added to select2's dropdown container
|
||||||
</td></tr>
|
</td></tr>
|
||||||
|
<tr><td>adaptContainerCssClass</td><td>function</td><td>
|
||||||
|
Function that filters/renames css classes as they are copied from the source tag to the select2 container tag.
|
||||||
|
<pre>adaptContainerCssClass(clazz)</pre>
|
||||||
|
<table class="table table-bordered table-striped">
|
||||||
|
<tr><th>Parameter</th><th>Type</th><th>Description</th></tr>
|
||||||
|
<tr><td>clazz</td><td>string</td><td>Css class being copied</td></tr>
|
||||||
|
<tr><td><returns></td><td>string</td><td>Css class to be applied or <code>null/undefined/''</code> to not apply it</td></tr>
|
||||||
|
</table>
|
||||||
|
The default implementation applies all classes without modification.
|
||||||
|
</td></tr>
|
||||||
|
<tr><td>adaptDropdownCssClass</td><td>function</td><td>
|
||||||
|
Function that filters/renames css classes as they are copied from the source tag to the select2 dropdown tag.
|
||||||
|
<pre>adaptDropdownCssClass(clazz)</pre>
|
||||||
|
<table class="table table-bordered table-striped">
|
||||||
|
<tr><th>Parameter</th><th>Type</th><th>Description</th></tr>
|
||||||
|
<tr><td>clazz</td><td>string</td><td>Css class being copied</td></tr>
|
||||||
|
<tr><td><returns></td><td>string</td><td>Css class to be applied or <code>null/undefined/''</code> to not apply it</td></tr>
|
||||||
|
</table>
|
||||||
|
The default implementation always returns <code>null</code> thereby filtering out all classes.
|
||||||
|
</td></tr>
|
||||||
<tr><td>escapeMarkup</td><td>function</td><td>
|
<tr><td>escapeMarkup</td><td>function</td><td>
|
||||||
<code>String escapeMarkup(String markup)</code>
|
<code>String escapeMarkup(String markup)</code>
|
||||||
<p>Function used to post-process markup returned from formatter functions. By default this function escapes html entities to prevent javascript injection.</p>
|
<p>Function used to post-process markup returned from formatter functions. By default this function escapes html entities to prevent javascript injection.</p>
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 2f53c251d451d75b1572ca2cc61aecf2c92b5eae
|
Subproject commit 6c4b96791d95012a5abfe203ab344c6fd5ea8db8
|
Loading…
x
Reference in New Issue
Block a user