I finally find a way to build a online example with Typescript.

Check this from an online IDE:

preview:
https://angular2-butaixianran.c9.io/src/index.html

editor:
https://ide.c9.io/butaixianran/angular2

Again, need a solution for this. Thanks




在 2015年6月13日星期六 UTC+8上午1:14:51,ran xian写道:
>
> [Angular2]How to use filereader.load with Angular2 and Typescript?
>
> Try to read a file from client side with Angular2 and Typescript.
>
> But when I try something like: 
>
> fileReader.onload = function(e) {
>   ......
> }
>
> It doesn't work, this function will never be called. (which works in 
> normal html+javascript.)
>
> Need a solution here, many thanks!!
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to