svelte-page-progress

1.0.1 • Public • Published

svelte-page-progress

Svelte Component that tracks a users progress through a page as they scroll

NPM JavaScript Style Guide

Watch Demo Here

Install

npm install svelte-page-progress

OR

yarn add svelte-page-progress

Usage

<script>
  import PageProgress from "svelte-page-progress"
</script>
 
<PageProgress color="red" heigh="1vh" />

Props

Props Type Default Value
color string SkyBlue valid CSS background property value
height string 4px valid CSS height property value

License

MIT © NomanGul

Feedback

Any questions or suggestions?

You are welcome to discuss it on:

Tweet



Package Sidebar

Install

npm i svelte-page-progress

Weekly Downloads

13

Version

1.0.1

License

MIT

Unpacked Size

24.7 kB

Total Files

6

Last publish

Collaborators

  • nomangul