code: protected void onMouseReleased(final MouseEvent mouseEvent) {
  
          if (model().getMenuShown().get()) {
              mouseEvent.consume();
          }
  
          if (!mouseEvent.isSynthesized() && /* !(mouseEvent.getTarget() instanceof Pane) && */!(mouseEvent.getTarget() instanceof WebView)) {
  
              final WaveData<Boolean> data = WBuilder.waveData(PrezWaves.SKIP_SLIDE_STEP, mouseEvent.isControlDown());
  
              if (mouseEvent.getButton() == MouseButton.PRIMARY) {
                  model().callCommand(ShowNextSlideCommand.class, data);
                  mouseEvent.consume();
              } else if (mouseEvent.getButton() == MouseButton.SECONDARY) {
                  model().callCommand(ShowPreviousSlideCommand.class, data);
                  mouseEvent.consume();
              } else if (mouseEvent.getButton() == MouseButton.MIDDLE) {
                  model().callCommand(ShowSlideMenuCommand.class);
                  mouseEvent.consume();
              }
          }
      }
docs: .
  
  @param mouseEvent