DefinitelyTyped/types/jquery.customselect/jquery.customselect-tests.ts
2017-03-24 14:27:52 -07:00

14 lines
372 B
TypeScript

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);