# jquery-doubletaptogo

> jquery-doubletaptogo ============

Latest version **3.0.2** (published 2017-05-08) · 0 weekly downloads

## Install

```sh
npm install jquery-doubletaptogo
pnpm add jquery-doubletaptogo
yarn add jquery-doubletaptogo
bun add jquery-doubletaptogo
```

## 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 | 3.0.2 |
| Published | 2017-05-08 |
| First published | 2017-02-09 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 49 |
| Author | Marco Rieser |
| Maintainers | dachcomdigital |

## Links

- npm: https://www.npmjs.com/package/jquery-doubletaptogo
- Repository: https://github.com/dachcom-digital/jquery-doubletaptogo
- Homepage: https://github.com/dachcom-digital/jquery-doubletaptogo#readme
- Issues: https://github.com/dachcom-digital/jquery-doubletaptogo/issues
- npm.io page: https://npm.io/package/jquery-doubletaptogo

## Recent versions

- 3.0.2 (latest) — 2017-05-08
- 3.0.1 — 2017-02-15
- 3.0.0 — 2017-02-09

## README

jquery-doubletaptogo
============

Brings drop-down navigation tapping for touch devices. Built as jQuery Plugin.


[![Join the chat at https://gitter.im/dachcom-digital/jquery-doubletaptogo](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/dachcom-digital/jquery-doubletaptogo?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![npm](https://img.shields.io/npm/v/jquery-doubletaptogo.svg)](https://www.npmjs.com/package/jquery-doubletaptogo)
[![npm](https://img.shields.io/bower/v/jquery-doubletaptogo.svg)](https://www.npmjs.com/package/jquery-doubletaptogo)

Dependencies
============
- jQuery: http://jquery.com/

Installation
============

```html
<!-- 1. Create your drop-down navigation -->
<nav class="navigation">
    <ul>
        <li><a href="#">First level</a></li>
        <li><a href="#">First level</a>
            <ul>
                <li><a href="#">Second level</a></li>
                <li><a href="#">Second level</a></li>
            </ul>
        </li>
    </ul>
</nav>

<!-- 2. Include jQuery -->
<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>

<!-- 3. Include plugin -->
<script src="dist/jquery.dcd.doubletaptogo.js" type="text/javascript"></script>

<!-- 4. Bind plugin to containers -->
<script type="text/javascript">
    $(function () {
        $('.navigation').doubleTapToGo();
    });
</script>
```

Options
============

- **automatic**: If set to true, tries to find out automatically which elements need doubletap and sets selector class on it. Set to false, if you have a more complex structure and set the selector class manually on the elements or specify a complex selector chain. `[Default: true]`
- **selectorClass**: Defines the selector class on which doubletap binds. `[Default: 'doubletap']`
- **selectorChain**: Defines the selector chain on which doubletap binds. `[Default: 'li:has(ul)']`

Changelog
============
3.0.0 Refactor to jQuery Plugin
-----------------
* removed dependency for jQuery Widget Factory
* Bugfixes

2.0.1 Bugfixes
-----------------
* added selector chain
* Bugfix for selector class in event listeners
* Bugfix for event listeners iOS / Android

2.0.0 Refactoring
-----------------
* added automatic mode
* added selector for binding
* removed levels option

1.0.0 Initial Release
---------------------

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