Help. I'm new to java script so thought I'd try using TypeScript to make my life a little easier.... but I cannot figure out where to start when trying to create a jquery UI Widget using TypeScript.
I've created UI Widgets in java script before and know that at its most basic I'm aiming for;
$.widget( "nmk.progressbar", {
_create: function() {
var progress = this.options.value + "%";
this.element.addClass("progressbar").text( progress );
}
});
(From the jQuery UI Widget Factory tutorial)
Is it even possible to create a jquery UI Widget using TypeScript?
Any help would be greatly appreciated!