JSPM

@sme-uploader/status-bar

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

A progress bar for Uploader, with many bells and whistles.

Package Exports

  • @sme-uploader/status-bar

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 (@sme-uploader/status-bar) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@sme-uploader/status-bar

SME Uploader logo Build Status

The status-bar shows upload progress and speed, ETAs, pre- and post-processing information, and allows users to control (pause/resume/cancel) the upload. Best used together with a simple file source plugin, such as @sme-uploader/file-input or @sme-uploader/drag-drop, or a custom implementation. It is also included in the @sme-uploader/dashboard plugin.

Uploader is being developed by the folks at Transloadit, a versatile file encoding service.

Example

const Uploader = require('@sme-uploader/core')
const StatusBar = require('@sme-uploader/status-bar')

const uploader = new Uploader()
uploader.use(StatusBar, {
  target: 'body',
  hideUploadButton: false,
  showProgressDetails: false,
  hideAfterFinish: true
})

Installation

$ npm install @sme-uploader/status-bar

We recommend installing from npm and then using a module bundler such as Webpack, Browserify or Rollup.js.

Alternatively, you can also use this plugin in a pre-built bundle from Transloadit's CDN: Edgly. In that case Uploader will attach itself to the global window.Uploader object. See the main Uploader documentation for instructions.

Documentation

Documentation for this plugin can be found on the Uploader website.

License

The MIT License.