js-offcanvas
js-offcanvas copied to clipboard
Dependency on jquery
js-offcanvas is often used with bootstrap 4 - will there be a pure javascript version of js-offcanvas .js for bootstrap 5 ?
Hi @gtbu no sorry, I don't plan to rewrite it.
Offcanvas is now implemented in Bootstrap 5 : https://getbootstrap.com/docs/5.0/components/offcanvas/
@gtbu Would you be interested in a fork with a headless component and no dependencies on jQuery? We can collab.
I actually have it as a Web Component (4.4 KB), in a private repo. There's no documentation available at the moment, but if you're interested, I can certainly consider making the repository public.
@vmitsaras that'd be really great, although I don't need it atm but maybe you can do it for the community?