src/components/hand-controls.js
function (gesture, lastGesture) {
    var el = this.el;
    var eventName;

    if (lastGesture === gesture) { return; }

    // Emit event for lastGesture not inactive.
    eventName = getGestureEventName(lastGesture, false);
    if (eventName) { el.emit(eventName); }

    // Emit event for current gesture now active.
    eventName = getGestureEventName(gesture, true);
    if (eventName) { el.emit(eventName); }
  }
function (gesture, lastGesture) {
    var el = this.el;
    var eventName;

    if (lastGesture === gesture) { return; }

    // Emit event for lastGesture not inactive.
    eventName = getGestureEventName(lastGesture, false);
    if (eventName) { el.emit(eventName); }

    // Emit event for current gesture now active.
    eventName = getGestureEventName(gesture, true);
    if (eventName) { el.emit(eventName); }
  }
function ( gesture , lastGesture ) { var el = this . el ; var eventName ; if ( lastGesture === gesture ) { return ; } // Emit event for lastGesture not inactive. eventName = getGestureEventName ( lastGesture , false ) ; if ( eventName ) { el . emit ( eventName ) ; } // Emit event for current gesture now active. eventName = getGestureEventName ( gesture , true ) ; if ( eventName ) { el . emit ( eventName ) ; } }
Emit `hand-controls`-specific events.
Emit hand - controls - specific events .