1.0.1 • Published 4 years ago

svelte-page-progress v1.0.1

Weekly downloads
19
License
MIT
Repository
github
Last release
4 years ago

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

PropsTypeDefaultValue
colorstringSkyBluevalid CSS background property value
heightstring4pxvalid CSS height property value

License

MIT © NomanGul

Feedback

Any questions or suggestions?

You are welcome to discuss it on:

Tweet