DefinitelyTyped/jquery.customselect/jquery.customselect-tests.ts

17 lines
407 B
TypeScript

/// <reference types="jquery" />
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);