Is anyone working on TypeScript definitions for ExtJS 5? I keep checking DefinitelyTyped but there is no activity:
https://github.com/borisyankov/DefinitelyTyped/tree/master/extjs
Ext JS is a popular JavaScript framework which provides rich UI for building web applications with cross-browser functionality. Ext JS is basically used for creating desktop applications. It supports all the modern browsers such as IE6+, FF, Chrome, Safari 6+, Opera 12+, etc.
For being over a decade old, Ext JS is still a good platform to develop many enterprise-grade (think intranet) applications.
With a disappearing community, meager documentation, poor performance and significant licensing cost, ExtJS is quickly becoming a deprecated technology.
Ext JS is a JavaScript application framework for building interactive cross-platform web applications using techniques such as Ajax, DHTML and DOM scripting.
Maybe I answer after a time when the thing is no longer up-to-date, but I created
TypeScript definitions for Ext.JS 5, 6 and 7, because there were a lot of reasons
not to go by ways above:
https://github.com/thanhptr/extts
haveExt.application({});
is nowhere.github.com/thanhptr/extts
contains HTML syntax, which is not so readable for day work.github.com/zz9pa/extjsTypescript
is too simple and not possibleMy solution is based on the same principles like this blog post: "Using ExtJs with TypeScript".
But there are a few differences. I thing all differences could be clear from examples:
The main differences are:
Ext
, Ext.Array
etc. are also generated properly. *.Cfg
interfaces, for example:Ext.panel.Panel
has config interface in Ext.panel.Panel.Cfg
.extend
, requires
, config
, statics
or maybe also template methods),Ext.panel.Panel
has interface for definition in Ext.panel.Panel.Def
.self
properties in better way.Ext.panel.Panel
has interface for events in Ext.panel.Panel.Events
.There is of course possible to create an application with modern toolkit, but Id didn't make any examples:-).
The solutions supports autocomplete everywhere and Visual Studio code refactoring by CTRL+R, which is very very practical:-)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With