oribella
  • Docs
  • 

›Gestures

Getting Started

  • Introduction
  • Framework
  • Oribella

Gestures

  • Tap
  • Doubletap
  • Longtap
  • Longtap swipe
  • Swipe
  • Pinch
  • Rotate

Plugins

  • Aurelia sortable
  • Aurelia gestures

Doubletap

Doubletap

import { oribella, Doubletap } from 'oribella';

oribella.on(Doubletap, document, {
  options: {
    timeThreshold: 250, //Default is 250ms e.g you have to finish 2 taps within 250ms
  },
  // called if it's a valid Doubletap
  end: () => console.log('Doubletap!'),
});
← TapLongtap →
Docs
Getting Started
More
GitHubStar
Copyright © 2018 Oribella