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 thebody
element. -
color?: string
Color of the progressbar element -
height?: string
Height of the progressbar element