aboutsummaryrefslogtreecommitdiff

Table of Contents

Usage

This is the most basic method of creating a downloadable file, demo.

<a href="/path/to/file/examplefile2.jpg" download>Link text</a>



You can also add text into the <a> tag to create a button.

<a href="/path/to/file/examplefile2.jpg" download>Link text</a>



Or you can rename the downloadable file using the download="" variable.

<a href="/path/to/file/examplefile2.jpg" download="August 31 2016 Sales Report">Download the report</a>

License

Distributed under the MIT License. See LICENSE for more information.

Contact

s1nical - @s1nical - [email protected]

Project Link: https://github.com/8cy/download-test