Changes between Initial Version and Version 1 of Ticket #14223, comment 4


Ignore:
Timestamp:
Nov 21, 2011, 2:30:29 PM (9 years ago)
Author:
Ed Chatelain
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14223, comment 4

    initial v1  
    11I will be posting an updated patch today.  In addition to the plugins for touchPress, touchMove, and gestureEvents, and the new tests for those, I have also added some additional config options for the mouse plugins.
     2
    23mouseClick will now have config support for targetProps, and textContentMaxChars (the max number of characters to show for text or textContent, defaults to 50).
     4
    35mouseOver will now have config support textContentMaxChars.
    46See the README for details on these config options and the config options for the touch and gesture plugins.
    57 
    68My goal for the mouse support which existed prior to the touch support being added is to be backward compatible, so these updates should not remove anything which was getting logged by default or which could have been set by config before, but it would be ok to log additional information. 
    7 So mouseClick will continue to log the same targetProps for "originalTarget" and "explicitOriginalTarget" in addition to "target", along with information for clientX, clientY, pageX, pageY, screenX, screenY by default, but there will be new config options to change the targetProps and the textContentMaxChars.  And mouseOver will continue to log the same targetProps for only for "target", along with information for "x" and "y", and I will add logging for screenX, screenY by default, but I did not add logging for clientX, clientY, pageX, pageY because those are usually the same as "x" and "y" and I did not want to flood the log with too much information. 
     9
     10So mouseClick will continue to log the same targetProps for "originalTarget" and "explicitOriginalTarget" in addition to "target", along with information for clientX, clientY, pageX, pageY, screenX, screenY by default, but there will be new config options to change the targetProps and the textContentMaxChars.  And
     11
     12mouseOver will continue to log the same targetProps for only for "target", along with information for "x" and "y", and I will add logging for screenX, screenY by default, but I did not add logging for clientX, clientY, pageX, pageY because those are usually the same as "x" and "y" and I did not want to flood the log with too much information.