GrapeCity Blog

Posts tagged with 'typescript'

Wijmo’s second major release of 2017 has landed, and it’s full of exciting new controls and developments— comprehensive accessibility support, a new JavaScript TreeMap control, Angular 4 support, and an interactive learning guide!

We've all been following the progress of the JavaScript language, from its humble beginnings (ECMAStript 3, in 1999) to the version that is part of the HTML5 standard (ECMAScript 5, 2011), to the latest and greatest version (ECMAScript 6, aka Harmony, ES2015, ES6 Harmony) that everyone is talking about. (For more details, see https://en.wikipedia.org/wiki/ECMAScript.)

Last week, Microsoft released big news in the world of LightSwitch: Microsoft has recommended that users not begin new application development with LightSwitch, as Visual Studio 2015 is the last release including the platform. Visual Studio 2015 will be active until October 13, 2020. As one commenter put it: "LightSwitch is dead, long live LightSwitch!"

GrapeCity has been developing JavaScript products for over six years, and in summer of 2016, hosted two global conferences on JavaScript in Seoul and Tokyo. Chris Bannon, Wijmo product manager, and Alex Ivanenko, program manager, presented two talks to their audiences. This recording is from Chris's presentation in Tokyo.

The TypeScript datatyping support not only applies to simple variables, it also supports you when doing clever things with functions. Specifically, TypeScript ensures you create reliable code when implementing callback functions.

As you may know, we have created our own architecture for creating Controls in JavaScript. So, now I'd like to show you how to write custom Controls that extend our wijmo.Control class. This sample is going to use TypeScript, as we do for all of our Controls. I will provide the runtime JavaScript, which you can also use as a basis for creating Wijmo 5 Controls. This source code for this sample is available in our download. I also published a working version of the custom Control in action.