Svelte Readotron
Reading Time Indicator
Creator
Vincent Le Badezet @untemps
Description
svelte-readotron is a customizable Svelte component to display the estimated reading time of articles and documents. The component takes a DOM selector as prop, parses the text content of the related element and calculates an estimation of the reading time based on a rate for an optional language. In addition, you can opt in for a scroll observation and update the time as users scroll down the document.Visit Site