pdf.js/examples
Jonas Jenwald 1f3da032b4 [api-minor] Modernize and simplify the ProgressBar class
The original `ProgressBar`-functionality is very old, and could thus do with some general clean-up.
In particular, while it currently accepts various options those have never really been used in either the default viewer or in any examples. The sort of "styling" that these options provided are *much better*, not to mention simpler, done directly with CSS rules.

As part of these changes, the "progress" is now updated using CSS variables rather than by directly modifying the `style` of DOM elements. This should hopefully simplify future changes to this code, see e.g. PR 14898.

Finally, this also fixes a couple of other small things in the "mobile viewer" example.
2022-05-14 13:49:10 +02:00
..
browserify Replace *most* cases of var with let/const in the examples/ folder 2021-03-12 17:16:59 +01:00
components Remove the deprecated PDFFindController.executeCommand method 2022-03-02 11:23:14 +01:00
image_decoders Convert examples/image_decoders/jpeg_viewer.js to await/async #14123 2021-10-22 11:50:24 +01:00
learning Correct typos 2022-04-09 09:43:18 +09:00
mobile-viewer [api-minor] Modernize and simplify the ProgressBar class 2022-05-14 13:49:10 +02:00
node Update (primarily) the Node.js examples to release page resources 2021-11-30 13:11:50 +01:00
svgviewer Replace *most* cases of var with let/const in the examples/ folder 2021-03-12 17:16:59 +01:00
text-only Update (primarily) the Node.js examples to release page resources 2021-11-30 13:11:50 +01:00
webpack Update webpack import instructions 2021-05-28 20:46:56 -04:00
.eslintrc Enable the ESLint no-var rule globally 2021-03-13 16:12:53 +01:00