W3C home > Mailing lists > Public > public-pointer-events@w3.org > April to June 2013

Re: Thoughts on Gestures & pointerList

From: Scott González <scott.gonzalez@gmail.com>
Date: Sun, 14 Apr 2013 10:29:08 -0400
Message-ID: <CAO8i3idMNrvEgmCxNMFY1uO=1Hf2CXb7+Vu2knAR5zHJAR5n9w@mail.gmail.com>
To: François REMY <francois.remy.dev@outlook.com>
Cc: "public-pointer-events@w3.org" <public-pointer-events@w3.org>
On Sat, Apr 13, 2013 at 6:34 AM, François REMY <
francois.remy.dev@outlook.com> wrote:

> Hi,
> I saw mentioned at some point that it was considered for v2 that
> a ‘pointerList’ property could be added to pointer events.
> My take on the question is that it is probably a bad idea and should be
> avoided if possible. The reason is that pointer events are really meant to
> work on a per-pointer basis, and if you need to access the state of
> multiple pointers when performing an action, using an abstraction seems the
> best way to me.
> So, if some pointerList property had to be defined, I would prefer the
> property to be defined on the gesture objects instead (the positive point
> is that the position of pointers should only be kept in memory if they are
> actually part of a gesture, and it makes sure people use the good technique
> to handle gestures instead of manually fiddling with the per-pointer
> events).
> However, I’m wondering if someone has a good reason why we would want
> pointerList to be accessible during all the single-pointer events.

I'd personally rather see a method not tied to any event for getting a list
of all active pointers.
Received on Sunday, 14 April 2013 14:29:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:20:25 UTC