aharui commented on issue #838:
URL: https://github.com/apache/royale-asjs/issues/838#issuecomment-633152155


   AFAICT, there is no practical way to do an emulation of FileReference.save.  
The best replacement I've found so far is to set the href on an Anchor element 
to a Blob.  If the user clicks on it, it will download to the user's Downloads 
folder.  If they right-click, some browsers will let them choose where to 
download it.
   
   If that is acceptable, we can create a component that will do that.  The key 
workflow difference is that the data will have to be ready before the button is 
clicked.  So the "Save XML" button might popup another dialog that contains the 
Anchor element.
   
   Or maybe someone else knows how to emulate FileReference.save


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to