stimulus-reveal-controller icon indicating copy to clipboard operation
stimulus-reveal-controller copied to clipboard

A Stimulus controller to toggle a class on one or multiple items to show or hide them.

Results 8 stimulus-reveal-controller issues
Sort by recently updated
recently updated
newest added

With a setup like this, you cannot use `reveal`, right?: ```html Toggle Foo Toggle Bar Foo Bar ``` ...Since you'd have to wrap it in one controller, and then each...

This is just a suggestion for a useful feature, it's not a "ticket" or official request per se, just thought it would be useful to include in the library! I...

We are on Rails 7 with webpacker 5.4.4 and when I install the component with `$ yarn add stimulus-reveal-controller` and ``` import { Application } from '@hotwired/stimulus' import Reveal from...

I wonder how to enable proper accessibility/ARIA support for a navigation menu, which gets revealed with stimulus-reveal-controller. This is an implementation reference: https://www.w3.org/TR/wai-aria-practices/examples/menu-button/menu-button-links.html The challenge is `aria-expanded="true"` and `aria-expanded="false"` respectively,...

Fix https://github.com/stimulus-components/stimulus-reveal-controller/issues/5

This would be a quick win since the package is written in TS. Something like this could do the trick: ```json { "scripts": { "build": "tsup ./src/index.ts --format esm,cjs --dts...

### On the `Reveal` class: - Create new function to save the state of a certain item on the session storage. - Save function is always called on `toggle()` -...