This downloads only the visible part of the selected area. To download the full selected area we would need to work a bit more
WebApp
The folder app.ironcalc.com contains the frontend and backend code deployed at https://app.ironcalc.com
The folder IronCalc contains the actual code for the spreadsheet widget as found in: