Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lrusso authored Aug 14, 2020
1 parent 23fe5de commit 79da252
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,17 @@ The App has a WebView that shows you the content of a embedded HTML file. Also,
## JavaScript example - How to download a binary file

```javascript
// WebToApp.min.js
...

new WebToApp(myArrayBuffer, "image.jpg");
```
## JavaScript example - How to download a text file

```javascript
// WebToApp.min.js
...

new WebToApp("example123", "myfile.txt");
```

Expand Down

0 comments on commit 79da252

Please sign in to comment.