# bespoke-touch

> Touch Support for Bespoke.js

Latest version **1.0.0** (published 2014-07-30) · 0 weekly downloads

## Install

```sh
npm install bespoke-touch
pnpm add bespoke-touch
yarn add bespoke-touch
bun add bespoke-touch
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2014-07-30 |
| First published | 2013-12-28 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 9 |
| Author | Mark Dalgleish |
| Maintainers | markdalgleish |
| Keywords | bespoke-plugin |

## Links

- npm: https://www.npmjs.com/package/bespoke-touch
- Repository: https://github.com/markdalgleish/bespoke-touch
- Issues: https://github.com/markdalgleish/bespoke-touch/issues
- npm.io page: https://npm.io/package/bespoke-touch

## Recent versions

- 1.0.0 (latest) — 2014-07-30
- 1.0.0-beta (beta) — 2014-06-13
- 0.1.0 — 2013-12-28

## README

[![Build Status](https://secure.travis-ci.org/markdalgleish/bespoke-touch.png?branch=master)](https://travis-ci.org/markdalgleish/bespoke-touch) [![Coverage Status](https://coveralls.io/repos/markdalgleish/bespoke-touch/badge.png)](https://coveralls.io/r/markdalgleish/bespoke-touch)

# bespoke-touch

Touch Support for [Bespoke.js](http://markdalgleish.com/projects/bespoke.js)

## Download

Download the [production version][min] or the [development version][max], or use a [package manager](#package-managers).

[min]: https://raw.github.com/markdalgleish/bespoke-touch/master/dist/bespoke-touch.min.js
[max]: https://raw.github.com/markdalgleish/bespoke-touch/master/dist/bespoke-touch.js

## Usage

This plugin is shipped in a [UMD format](https://github.com/umdjs/umd), meaning that it is available as a CommonJS/AMD module or browser global.

For example, when using CommonJS modules:

```js
var bespoke = require('bespoke'),
  touch = require('bespoke-touch');

bespoke.from('article', [
  touch()
}];
```

When using browser globals:

```js
bespoke.from('article', [
  bespoke.plugins.touch()
}];
```

By default, bespoke-touch uses horizontal swipes to navigate the slides.

If your presentation is laid out vertically, you can allow navigation with vertical swipes using the `vertical` option:

```js
bespoke.from('article', [
  touch('vertical')
]);
```

## Package managers

### npm

```bash
$ npm install bespoke-touch
```

### Bower

```bash
$ bower install bespoke-touch
```

## Credits

This plugin was built with [generator-bespokeplugin](https://github.com/markdalgleish/generator-bespokeplugin).

## License

[MIT License](http://en.wikipedia.org/wiki/MIT_License)

---
_Source: https://npm.io/package/bespoke-touch · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
