svelte-page-progress
Svelte Component that tracks a users progress through a page as they scroll
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: