GithubHelp home page GithubHelp logo

bayssmekanique / vue-click Goto Github PK

View Code? Open in Web Editor NEW
33.0 2.0 4.0 1.1 MB

Vue plugin for advanced click directive

License: MIT License

HTML 14.72% TypeScript 61.09% CSS 7.45% JavaScript 16.74%
vue vue-plugin click throttle debounce vue3 vue3-typescript doubleclick

vue-click's Introduction

ZC_Name

Hey 👋,

I am a Christian, Husband, and Father who enjoys programming, board games, riding dirt bikes, and playing Ultimate Frisbee and Disc Golf. I am a native of Tulare County and have been working professionally in the technology sector for 19 years. I am passionate about helping others and growing community.

I am also the founder of Kaweah Tech, a software development and technology services company seeking to empower local entrepreneurs and provide opportunities for software engineers in the Central Valley.

vue-click's People

Contributors

bayssmekanique avatar dependabot[bot] avatar ish2028 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vue-click's Issues

How to handle click and dblClick on the same element?

Thanks for providing this package, I really like the debounce/throttle options.

I would like to handle double click and a single click on the same element, however it triggers both of them:

<div
    v-click="onClick" // always triggered
    v-click.double="onDblClick" // only trigger this on dbl click
  />

The only workaround I think is two add to separated divs?

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.