Saturday 13 October 2012

Typescript : Adding a Simple Button


If you want an intro then go here http://www.typescriptlang.org/Tutorial/


I'll skip the boring often repeated initial set-up clones and skip to some interesting stuff.


Below is adding a button to a html div element called 'content'




















This easy enough and looks very similar to the JavaScript, You should remember that TypeScript IS JavaScript


No comments:

Post a Comment

Comments are welcome, but are moderated and may take a wee while before shown.