Welcome to the #resistance.

Stimulus Connect is the release tracker and news aggregator for Stimulus and its surrounding ecosystem, including StimulusReflex and CableReady.

stimulus-scroll-progress 2.0.0

A Stimulus controller to add a progress bar when scrolling.

guillaumebriday guillaumebriday

Published — 24 days ago
Updated — about 5 hours ago

progress-barscroll-progressstimulusstimulus-controllerstimulusjs

https://github.com/stimulus-components/stimulus-scroll-progress

https@github.com:stimulus-components/stimulus-scroll-progress

https://github.com/stimulus-components/stimulus-scroll-progress/issues

MIT

Controllers available: scroll-progress

Requires Stimulus 1.1.1

 

Installation

Shell
yarn add stimulus
yarn add stimulus-scroll-progress
index.js
import { Application } from 'stimulus'
import { definitionsFromContext } from 'stimulus/webpack-helpers'
import ScrollProgress from 'stimulus-scroll-progress'
const application = Application.start()
const context = require.context('controllers', true, /_controller.js$/)
application.load(definitionsFromContext(context))
application.register('scroll-progress', ScrollProgress)

Not using webpack? No problem.

  • lodash.throttle

Recently Updated

New Releases

Search by Tag

Swiperactioncableajaxanimated-numberapp-bridgeasynchronously-load-HTMLaudioautocompleteautosavebehaviorbindingbootstrapbulmacablecablereadycallbackscarouselcharacter-counterchatchattercheck-allcheckboxcheckbox-select-allcommandscommunicationcomponentscompositioncontent-loadercontrollerdata-bindingdatatablesdevelopmentdistance-from-nowdjangodomelementseventexistenceflatpickrformgetaddress.iogridheaderhelpersherokuheyhidehotkeysimageinputiosjavascriptjerksjestkeystrokelazylightboxlightgallerymapsmodalmorphdommp3on/offoverlaypaginationparticles.jsplaceholderpopoverprefetchprogress-barrailsrails-remoterails-ujsreactivereflexremoteresource-hintsresponsiverevealrollup-pluginrollup.jsrubyscroll-progressshopifyshortcutshowsliderssoundspeedssrstickystimulusstimulus-controllerstimulus-jsstimulus-reflexstimulus-togglestimulus.jsstimulus_reflexstimulusjsstimulusreflexstripestripe.jssurplusswiperjsswitchtabletabstailwindcsstestingtextareatime-agotippytoggletransitionsturbolinksujsuppercaseutilitesutilityuxvalidationwebdevwebsockets