ibm-js / dpointer

AMD based API which follows W3C Pointer Events specification and adds click/dbl click normalization.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add docs

wkeese opened this issue · comments

In particular, it took me a long time to figure out that:

  • the attribute name is data-touch-action rather than touch-action
  • the way to enable fast-click is by setting data-touch-action=none.
  • the attribute name is data-touch-action rather than touch-action

Touch action is no more named data-touch-action and it is documented in README since this commit, are you sure you were looking at master branch?

  • the way to enable fast-click is by setting data-touch-action=none.

I agree it needs better explanation of the relationship between touch-action values and the way click is generated.

Oh, OK looks like I was using an old version of the code, in 0.1.1-dev it's touch-action (like you said).

I'm keeping this one open as a placeholder for anything that should be added in documentation. Just removing the milestone.

do you have specific things in mind? If yes please list them, otherwise I don't think we should keep issue open for things we are not able to list.