js-offcanvas icon indicating copy to clipboard operation
js-offcanvas copied to clipboard

Dependency on jquery

Open gtbu opened this issue 4 years ago • 5 comments

js-offcanvas is often used with bootstrap 4 - will there be a pure javascript version of js-offcanvas .js for bootstrap 5 ?

gtbu avatar Sep 10 '20 15:09 gtbu

Hi @gtbu no sorry, I don't plan to rewrite it.

vmitsaras avatar Sep 21 '20 13:09 vmitsaras

Offcanvas is now implemented in Bootstrap 5 : https://getbootstrap.com/docs/5.0/components/offcanvas/

Arkanii avatar May 21 '21 12:05 Arkanii

@gtbu Would you be interested in a fork with a headless component and no dependencies on jQuery? We can collab.

thekayshawn avatar Oct 18 '23 08:10 thekayshawn

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 avatar Oct 18 '23 09:10 vmitsaras

@vmitsaras that'd be really great, although I don't need it atm but maybe you can do it for the community?

thekayshawn avatar Oct 18 '23 19:10 thekayshawn