bigskysoftware / bigskysoftware/_hyperscript
Activate Bootsrap's collapsing CSS transition with _hyperscript (and without Bootstrap JS)
- Dominant language
- JavaScript
- Stars
- 3.8k
- Forks
- 172
- PR merge metrics
- No merged PRs in 30d
Description
* EDIT: replaced reference to jQuery with 'Bootstrap JS'
Hi, not sure if this is the right place to ask: I'm trying to leverage Bootsrap's CSS transitions for collapsing content (https://getbootstrap.com/docs/5.0/components/collapse/#usage), using only Hyperscript (without Bootstrap's JS).
For some reason I can't get it to work as advertised.
Here is the JS fiddle: https://jsfiddle.net/ex5bh78j/1/
And here is the _hyperscript snippet:
```html
_="on click
toggle .show on #collapseme
then add .collapsing to #collapseme then settle
then remove .collapsing from #collapseme then settle"
```
Any guidance would be appreciated.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.