1.1.2 • Published 7 years ago

@odopod/odo-on-swipe v1.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
7 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

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago