Package Exports
- ark-progress
- ark-progress/ark-progress.js
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 (ark-progress) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ProgressCorner - tiny reusable library to show a corner progress indicator.
Usage: const pc = new ProgressCorner({ corner: 'top-right', title: 'Uploading', autoHide: false }); pc.show(); // show widget pc.setMessage("Uploading 1/3 files"); pc.setProgress(45); // 0..100 pc.setIndeterminate(true); // show moving indicator pc.hide(); // hide widget
Options: corner: 'top-right'|'top-left'|'bottom-right'|'bottom-left' (default: 'top-right') title: string (default: 'Working') autoHide: boolean (hide when progress reaches 100) default true initialProgress: number (0..100) accentColor: CSS color (optional) -> sets --pc-accent variable on the element