ts-indicator
v1.0.0
Published
A tiny reading position indicator library
Downloads
4
Readme
ts-indicator
A tiny reading position indicator library
Installation
To install ts-indicator
, execute:
$ npm install ts-indicator
or
$ yarn add ts-indicator
Example
Parameters
element?: string | HTMLElement indicator uses this parameter to find the element in the DOM thee. By default, it takes the
body
element.color?: string Color of the progressbar element
height?: string Height of the progressbar element