This is a migrated thread and some comments may be shown as answers.

Reference APP using KendoUI and TypeScript

1 Answer 33 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Wired_Nerve
Top achievements
Rank 2
Wired_Nerve asked on 25 Apr 2014, 02:07 PM
Anyone know of a reference application that uses Kendo UI and TypeScript?  

1 Answer, 1 is accepted

Sort by
0
Richard
Top achievements
Rank 1
answered on 26 Apr 2014, 07:52 AM
Hi there

Depending on how you use TypeScript (with it's "normal" module-system, or AMD), there would be a couple of ways to include TypeScript.

Now, if you would like to load each module individually with AMD, check out these 2 articles:
http://icanmakethiswork.blogspot.co.uk/2014/02/typescript-and-requirejs-keep-it-simple.html
http://docs.telerik.com/kendo-ui/getting-started/using-kendo-with/using-kendo-with-requirejs

On the other hand, if you like to use the full min.package, just load kendoUiMobile normally through the script-tag.
In your TS-files, just include a referecne to kendoUI and you're good to go:
///<reference path="../Libs/KendoUI/kendo.all.d.ts" />

the Definition-file is probabbly on the DefinitlyTyped-repository, though I took it directly from the TS-folder which comes when you download KendoUiMobile.

Cheers
Tags
General Discussions
Asked by
Wired_Nerve
Top achievements
Rank 2
Answers by
Richard
Top achievements
Rank 1
Share this question
or