Saturday, August 1, 2015

Re: Not finding Elemental classes


Thank you. By the way, how can you get an elemental.html.File or FileList object from a gwt FileUpload widget or an <input type=file> widget? I.e if the user selects a file to upload, how can I handle it using the Elemental File api?

 You need to access the "files" property of the input element. The InputElement of elemental has a getFiles() method for it. 

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment