mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2024-12-27 00:31:35 +01:00
11 lines
287 B
Markdown
11 lines
287 B
Markdown
Hyperlink with apperance of a button.
|
|
|
|
It has `download` attribute, which prevents closing WebSocket connection on
|
|
Firefox. See
|
|
[related issue](https://bugzilla.mozilla.org/show_bug.cgi?id=858538) for more
|
|
details.
|
|
|
|
```js
|
|
<DownloadButton href="example.zip">Download</DownloadButton>
|
|
```
|