File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 1- # FileSaver.js
1+ FileSaver.js
2+ ============
23
34FileSaver.js implements the HTML5 W3C ` saveAs() ` [ FileSaver] [ 1 ] interface in browsers that do
45not natively support it. There is a [ FileSaver.js demo] [ 2 ] that demonstrates saving
@@ -11,7 +12,8 @@ sent to an external server.
1112Looking for ` canvas.toBlob() ` for saving canvases? Check out
1213[ canvas-toBlob.js] ( https://github.com/eligrey/canvas-toBlob.js ) for a cross-browser implementation.
1314
14- ## Supported Browsers
15+ Supported Browsers
16+ ------------------
1517
1618| Browser | Constructs as | Filenames | Max Blob Size | Dependencies |
1719| -------------- | ------------- | ------------ | ------------- | ------------ |
@@ -45,13 +47,15 @@ Blobs may be opened instead of saved sometimes—you may have to direct your Saf
4547press <kbd >⌘</kbd >+<kbd >S</kbd > to save the file after it is opened. Further information is available
4648[ on the issue tracker] ( https://github.com/eligrey/FileSaver.js/issues/12 ) .
4749
48- ## Syntax
50+ Syntax
51+ ------
4952
5053``` js
5154FileSaver saveAs (in Blob data, in DOMString filename)
5255```
5356
54- ## Examples
57+ Examples
58+ --------
5559
5660### Saving text
5761
You can’t perform that action at this time.
0 commit comments