jqwidgets-scripts-custom
Version:
jQWidgets is an advanced jQuery, Angular 7, Vue, React, ASP .NET MVC, Custom Elements and HTML5 UI framework.
16 lines (15 loc) • 586 B
text/typescript
/// <reference path="../../../jqwidgets-ts/jqwidgets.d.ts" />
function formatedInput (selector) {
// initialization options - validated in typescript
// jqwidgets.FormatedInputOptions has generated TS definition
let options: jqwidgets.FormattedInputOptions = {
width: 250,
height: 25,
radix: "decimal",
value: "15",
spinButtons: true,
dropDown: true
};
// creates an instance
let myFormattedInput: jqwidgets.jqxFormattedInput = jqwidgets.createInstance(selector, 'jqxFormattedInput', options);
}