UNPKG

upload-js

Version:

File Upload Library — Upload.js gives developers AJAX multipart file uploading via XHR 🚀 Comes with Cloud Storage 🌐

22 lines (18 loc) 324 B
/* eslint-disable @typescript-eslint/explicit-function-return-type */ class App { /** * elements */ get uploadButton() { // @ts-expect-error return $("#upload"); } /** * methods */ async open(path = "/") { // @ts-expect-error await browser.url(path); } } export default new App();