mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
17 lines
470 B
TypeScript
17 lines
470 B
TypeScript
/// <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);
|