Alright, well Docs can be a starting point for all of this! I've created two issues to kick this work off by 2.0.0. - CB-971 is to create a "Best Practices" section [1]. - CB-972 is a guide for mobile touch and mouse events [2].
[1] https://issues.apache.org/jira/browse/CB-971 [2] https://issues.apache.org/jira/browse/CB-972 On Wed, Jun 27, 2012 at 1:40 PM, Brian LeRoux <[email protected]> wrote: > I like dealing w/ this in the Docs. Maybe we start a guide for 'mobile > web practices'? > > On Wed, Jun 27, 2012 at 10:57 AM, Jesse <[email protected]> wrote: > > It's like the old adage: "Give a man fast click events ... " > > > > On Wed, Jun 27, 2012 at 10:46 AM, Michael Brooks > > <[email protected]>wrote: > > > >> Yea, we certainly get blamed for it and looked at for a solution. > >> > >> One thought is to attack this from a documentation standpoint - at > least to > >> begin with. A guide on click / touch events, known issues, and suggested > >> approaches / libraries. > >> > >> Afterwards, we can kick off a standalone, polyfill project as a > suggested > >> solution. After it's supported across the platforms (mostly) and well > >> tested, we can package it as a pure JavaScript Cordova plugin and > consider > >> adopting it as an official project. > >> > >> Michael > >> > >> On Wed, Jun 27, 2012 at 10:35 AM, Brian LeRoux <[email protected]> wrote: > >> > >> > I was in agreement and pretty bullish on this but of late hearing ppl > >> > complain about click event delay A LOT which is, as we all know, > >> > commonly understood and easy to fix. Problem is, jquery doesnt, and > >> > ppl assume it's phonegap that sucks. > >> > > >> > =/ > >> > > >> > On Wed, Jun 27, 2012 at 10:26 AM, Michael Brooks > >> > <[email protected]> wrote: > >> > > I agree with Jesse. > >> > > > >> > > If possible, a speed increase to click events should be solved by a > >> > Cordova > >> > > plugin or DOM lib. Perhaps it can start as a third-party plugin and > >> once > >> > > battle-tested, adopted as an official plugin. > >> > > > >> > > Faster click events would be wonderful though... > >> > > > >> > > Michael > >> > > > >> > > On Wed, Jun 27, 2012 at 10:21 AM, Jesse <[email protected]> > >> wrote: > >> > > > >> > >> If this can be done generically I think it should be in it's own > >> > library. > >> > >> I think we should leave it to the DOM libs, and cordova-js should > only > >> > >> contain a rock-solid bridge to native. > >> > >> > >> > >> On Wed, Jun 27, 2012 at 10:05 AM, Brian LeRoux <[email protected]> wrote: > >> > >> > >> > >> > thinking that if we're gunning to add multitouch in cordova > android > >> > >> > for 2.x maybe we consider speeding up click events by default in > >> apps > >> > >> > that inc cordova.js > >> > >> > > >> > >> > its dangerous b/c we're now walking into territory the browser > libs > >> > >> > are taking care for the mobile web. on the flip side, we can > check > >> for > >> > >> > a clobber and not do it if somebody else already has > >> > >> > > >> > >> > thoughts? > >> > >> > > >> > >> > >> > >> > >> > >> > >> > >> -- > >> > >> @purplecabbage > >> > >> risingj.com > >> > >> > >> > > >> > > > > > > > > -- > > @purplecabbage > > risingj.com >
