jqwidgets-framework
Version:
jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.
13 lines (12 loc) • 448 B
text/typescript
/// <reference path="../../../jqwidgets-ts/jqwidgets.d.ts" />
function createExpander(selector)
{
// initialization options - validated in typescript
// jqwidgets.BarGaugeOptions has generated TS definition
let options: jqwidgets.ExpanderOptions =
{
width: '350px'
};
// creates an instance
let myExpander: jqwidgets.jqxExpander = jqwidgets.createInstance(selector, 'jqxExpander', options);
}