Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 1.65 KB

README.md

File metadata and controls

51 lines (32 loc) · 1.65 KB

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