GithubHelp home page GithubHelp logo

tomaszbujnowicz / vanilla-js-drawer Goto Github PK

View Code? Open in Web Editor NEW
30.0 30.0 5.0 23 KB

A dependency-free Vanilla JS drawer. No dependencies, no automation build tools.

Home Page: https://tomaszbujnowicz.github.io/vanilla-js-drawer/

HTML 100.00%
drawer drawers javascript vanilla-javascript vanilla-js

vanilla-js-drawer's People

Contributors

tomaszbujnowicz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vanilla-js-drawer's Issues

Mobile Swipe

Can you advise on how to edit to add a swipe to close function when on a mobile device? Thank you in advance!

Nested drawers

Hi, thank you for this elegant menu solution. Is it possible to nest drawers? For example, open the menu, click on a menu button that opens another menu over the top of the first?

How do you make anchor links work?

Thank you for a great program.
There is an a tag for an in-page link in the hamburger menu I created, but when I press that button, the in-page link works and takes me to the specified location, but the hamburger menu does not close.
So I tried setting data-drawer-close to the a tag, but this time the in-page link does not work.
Could you please tell me how to achieve the above?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.