Skip to content

issues Search Results · repo:bh-lay/toucher language:JavaScript

Filter by

6 results
 (107 ms)

6 results

inbh-lay/toucher (press backspace or delete to remove)

  • AllexChao
  • Opened 
    on Oct 11, 2021
  • #14

x1 = e.touches[0].pageX; Uncaught TypeError: Cannot read property 0 of undefined at HTMLDivElement.touchStart (toucher_2cb1d8f.js:174)
  • RobertWang
  • 1
  • Opened 
    on Jul 13, 2017
  • #12

  • kevinlvhsl
  • Opened 
    on Dec 16, 2015
  • #9

var box = document.getElementById( box ); box.addEventListener( click ,function(e) { var target = e.target; if(e.target.className = item ) { console.log( ok ); ...
  • MeCKodo
  • 3
  • Opened 
    on Sep 22, 2015
  • #8

在touchend这个函数中你说到的 //touchend中,拿不到坐标位置信息,故使用全局保存下的事件因为这个而弃用了touchend中的event,而是使用了touchstart或touchmove中保存的event,这样会导致touchen中触发的事件无法使用阻止冒泡和阻止默认行为。建议可以在touchend中可以使用changedTouches代替touches来取坐标位置信息 以上反馈来自于:@DMQ ...
  • bh-lay
  • 1
  • Opened 
    on Jul 14, 2015
  • #3

要是可以支持选择器委托事件就好了
  • silvmind
  • 5
  • Opened 
    on Jan 4, 2015
  • #2
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub