1.1.2 • Published 6 years ago

@odopod/odo-on-swipe v1.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

Odo On Swipe

Provide event hook for swipes on an element.

Install

npm install @odopod/odo-on-swipe --save

Quick Start

import OdoOnSwipe from '@odopod/odo-on-swipe';

const element = document.getElementById('foo');
const instance = new OdoOnSwipe(element, swiped(event) {
  element.textContent = 'Swiped ' + event.direction;
});

Documentation

Visit the Odo component directory for demos, code examples, and documentation.

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

7 years ago

1.0.0

7 years ago