Collection of useful single-responsibility Stimulus controllers.
Work in progress. Needs proper tests.
npm install stimuli
Import and register the desired controllers with your application.
const application = Applicationstartapplication
Autoplay video or audio files. Retries with a muted version of the video if it failes on first try.
Measure the deimensions of an element and stores the value in a CSS custom property.