stimulus_reflex_expo
stimulus_reflex_expo copied to clipboard
timers and more timers!
Demo for simultaneous countdown and countup timers that do their best to stay in sync on the FE and the BE
- Shows firing events from a reflex defined on a model
- Shows morph
- Shows using a JS controller to fire
this.stimulate
- Shows combining both conditional ERB and querySelector stuff to change elements based on their current attributes
Demo: https://share.getcloudapp.com/DOu942Lx?utm_source=show
(Apologies for slight linter-induced spurious changes in a couple files - can yank them out if you want, just ye olde rubocop-on-save...)
ping :)