src/gesture/TapRecognizer.js
function (target, callback) {
            GestureRecognizer.call(this, target, callback);

            /**
             *
             * @type {Number}
             */
            this.numberOfTaps = 1;

            /**
             *
             * @type {Number}
             */
            this.numberOfTouches = 1;

            // Intentionally not documented.
            this.maxTouchMovement = 20;

            // Intentionally not documented.
            this.maxTapDuration = 500;

            // Intentionally not documented.
            this.maxTapInterval = 400;

            // Intentionally not documented.
            this.taps = [];

            // Intentionally not documented.
            this.timeout = null;
        }
function (target, callback) {
            GestureRecognizer.call(this, target, callback);

            /**
             *
             * @type {Number}
             */
            this.numberOfTaps = 1;

            /**
             *
             * @type {Number}
             */
            this.numberOfTouches = 1;

            // Intentionally not documented.
            this.maxTouchMovement = 20;

            // Intentionally not documented.
            this.maxTapDuration = 500;

            // Intentionally not documented.
            this.maxTapInterval = 400;

            // Intentionally not documented.
            this.taps = [];

            // Intentionally not documented.
            this.timeout = null;
        }
function ( target , callback ) { GestureRecognizer . call ( this , target , callback ) ; /**
             *
             * @type {Number}
             */ this . numberOfTaps = 1 ; /**
             *
             * @type {Number}
             */ this . numberOfTouches = 1 ; // Intentionally not documented. this . maxTouchMovement = 20 ; // Intentionally not documented. this . maxTapDuration = 500 ; // Intentionally not documented. this . maxTapInterval = 400 ; // Intentionally not documented. this . taps = [ ] ; // Intentionally not documented. this . timeout = null ; }
Constructs a tap gesture recognizer.
@alias TapRecognizer
@constructor
@augments GestureRecognizer
@classdesc A concrete gesture recognizer subclass that looks for single or multiple taps.
@param {EventTarget} target The document element this gesture recognizer observes for mouse and touch events.
@param {Function} callback An optional function to call when this gesture is recognized. If non-null, the
function is called when this gesture is recognized, and is passed a single argument: this gesture recognizer,
e.g., <code>gestureCallback(recognizer)</code>.
@throws {ArgumentError} If the specified target is null or undefined.
Constructs a tap gesture recognizer .