Angular 2 provides powerful template syntax to access events and elements inside of your Component's class. This lesson shows how to access the click events off of a button and the values and element off of an input.
If you plan to do some custom events please be aware Event names need to be lower case!!!
And from alpha.34 you may use dash syntax.
how does this all typescript compile in the browser work? magic ? its pretty awesome none the less
how does this all typescript compile in the browser work? magic ? its pretty awesome none the less
It is using system.js and typescript.js to compile on the fly. It is nice, but you also lose a huge benefit from TypeScript compilation and it makes finding errors a real chore. Silent failures.
Nice way to drop in and start doing stuff though!
what IDE is this. thanks!