code: 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); }
    }
docs: Emit `hand-controls`-specific events.