mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
select2 templateSelection method signature
A JQuery container is also passed in as the 2nd parameter. https://select2.github.io/options.html#templateSelection
This commit is contained in:
Vendored
+1
-1
@@ -76,7 +76,7 @@ interface Select2Options {
|
||||
/**
|
||||
* Template can return both plain string that will be HTML escaped and a jquery object that can render HTML
|
||||
*/
|
||||
templateSelection?: (object: Select2SelectionObject) => any;
|
||||
templateSelection?: (object: Select2SelectionObject, container: JQuery) => any;
|
||||
templateResult?: (object: Select2SelectionObject) => any;
|
||||
language?: string | string[] | {};
|
||||
selectOnClose?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user