npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

v-tap

v3.0.3

Published

a directive of vue.js

Downloads

120

Readme

vue-tap ( 已支持vue2.0,最下方有更新日志 )

npm npm

a v-tap directive of vue.js

How To use

example

Update

2017.06.17(fix)

  • 修复父级DOM里含有input,点击input无法聚焦的BUG(仅支持vue2以上的版本)
  • vue1.x不再新增特性
  • 下一步准备新增长按事件 (v-tap:long)

2017.03.16(fix)

  • 主要BUG修复!v-if和v-else指令绑定事件绑定不对的问题
  • 现已修复,可以看if-else.html测试
  • 感谢 coco 帮助我进行测试!

2017.02.21(fix)

  • 重大BUG修复!经过v-for渲染出来的列表,在生命周期修改了数据重新渲染后v-tap获取不到最新值
  • 现已修复,可以看list-test.html测试
  • 感谢 火星X王子 帮助我进行测试!

2016.10.02(update)

支持Vue2.0,兼容Vue1.0

2016.9.25(fix)

  • 修复了PC端的bug
  • test-href.html页面,新增测试
  • 我是测试v-tap="a++"直接执行表达式 我是history.go(-1)

2016.9.19(update)

  • 优化了a标签快速跳转逻辑,可以直接在 写v-tap指令,这样即可快速跳转

2016.8.26(update)

  • 发布npm, 各位可用npm i v-tap --save;下载使用
  • 重写了currentTarget对象,避免currentTarget为null的情况
  • fix : 判断el是否为a标签,避免获取href出错

2016.8.25(update)

  • 经测试没有点透问题

2016.8.24(update)

  • 统一为v-tap,兼容PC移动端
  • 新增捕获a标签的href地址,点击a标签可实现快速跳转
  • 解决部分手机点击没有反应的问题
  • 准备加入npm大家庭

2016.1.20(merge)

  • 新增 dom带有disable属性时,tap失效

2015.12.22(update)

  • 新增vue-tap-click版本兼容PC和移动端,v-tap指令将自动判断使用click还是tap事件
  • vue-tap 是不带兼容版本, vue-tap-click兼容版本, 请客官自行选择进食.