JSPM

aksfileupload

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 66
  • Score
    100M100P100Q66176F
  • License MIT

File upload tool

Package Exports

  • aksfileupload

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (aksfileupload) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

aksFileUpload.min.js

File upload tool

View the Demo on CodePen →

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/aksfileupload@1.0.0/dist/aksFileUpload.min.css">
<script src="https://unpkg.com/aksfileupload@1.0.0/dist/aksFileUpload.min.js"></script>

<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aksfileupload@1.0.0/dist/aksFileUpload.min.css">
<script src="https://cdn.jsdelivr.net/npm/aksfileupload@1.0.0/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.