mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
add customSelect
This commit is contained in:
1 parent
029781c46f
commit
db5ca82c65
3 files changed
+33
No files matched your search
@@ -0,0 +1,16 @@
|
||||
/// <reference path="../jquery/jquery.d.ts" />
|
||||
/// <reference path="jquery.customSelect.d.ts" />
|
||||
|
||||
class CustomSelectOptions implements JQueryCustomSelectOption {
|
||||
"customClass": string;
|
||||
"mapClass": boolean;
|
||||
"mapStyle": boolean;
|
||||
}
|
||||
|
||||
var customSelectOptions = new CustomSelectOptions();
|
||||
|
||||
customSelectOptions.customClass = "myOwnClassName";
|
||||
customSelectOptions.mapClass = true;
|
||||
customSelectOptions.mapStyle = true;
|
||||
|
||||
$('select').customSelect(customSelectOptions);
|
||||
Reference in new issue
Block a user