@abcnews/progress-utils

Use any vertically distributed elements as source of scrollytelling state

Usage no npm install needed!

<script type="module">
  import abcnewsProgressUtils from 'https://cdn.skypack.dev/@abcnews/progress-utils';
</script>

README

progress-utils

Use any vertically distributed elements as a source of scrollytelling state.

By default, it will use #progressNAME{name} mount points and determine state from their alternating-case properties, but you can configure the selection and state parsing for other types of DOM node.