This project is not covered by Drupal’s security advisory policy.

Hammer.js is a small, standalone javascript-library that enables multitouch gestures like swipe, pinch, rotate, tap and drag on mobile devices. This is a utility module and you won't need it unless you are a developer or another module asks you to install it.

INSTALLATION

  1. Download and enable the module
  2. Download the HammerJS library (http://hammerjs.github.io/ version 2.0.8 is recommended) and put the file under "libraries/hammer.js/" or run drush hammerjsplugin
  3. So we can find the hammer.min.js in /libraries/hammer.js/
  4. Find the status in /admin/reports/status

USAGE
Simply add the HammerJS library in your render array:

$build['element'] = array(
      '#attached' => array(
        'library' => array(
          'hammerjs/hammerjs',
        ),
      ),
    );

Project information

Releases