Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.
/ reading-bar Public archive

Reading progress bar - Svelte/Web Component

License

Notifications You must be signed in to change notification settings

TigersWay/reading-bar

Repository files navigation

reading-bar GitHub tag (latest by date) GitHub last commit GitHub issues

Usage jsDelivr hits (GitHub)

<!doctype html>
<html class="no-js" lang="en">
<head>
...
<body>
  <reading-bar selector="section" height="6px" background="linear-gradient(to right, green, lime)"></reading-bar>
...
  <script src='https://cdn.jsdelivr.net/gh/tigersway/reading-bar@1/dist/reading-bar.esm.min.js' type="module"></script>
</body>
</html>

Options:

  • selector: (default body) CSS selector for the readable part,
  • height: (default 4px) CSS height of the bar,
  • background: (default linear-gradient(to right, #4169e1, #c6d2f6)) CSS background as color, gradient, etc

CHANGELOG

v1.0.0

  • First public release

About

Reading progress bar - Svelte/Web Component

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published