aksfileupload
v1.0.0
Published
File upload tool
Downloads
1,096
Maintainers
Readme
aksFileUpload.min.js
File upload tool
Getting Started
Compiled and production-ready code can be found in the dist
directory.
1. Include aksFileUpload.min.js on your site.
Direct Download
You can download the files directly from GitHub.
<link type="text/css" rel="stylesheet" href="dist/aksFileUpload.min.css">
<script src="dist/aksFileUpload.min.js"></script>
CDN
<link type="text/css" rel="stylesheet" href="https://unpkg.com/[email protected]/dist/aksFileUpload.min.css">
<script src="https://unpkg.com/[email protected]/dist/aksFileUpload.min.js"></script>
<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/aksFileUpload.min.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/aksFileUpload.min.js"></script>
NPM
npm i aksfileupload
2. Initialize aksFileUpload.min.js
<aks-file-upload></aks-file-upload>
<p id="uploadfile" type="json"></p>
$(function () {
$("aks-file-upload").aksFileUpload({
fileUpload: "#uploadfile",
dragDrop: true,
maxSize: "90 GB",
multiple: true,
maxFile: 50
});
});
License
The code is available under the MIT License.