# jquery-miller-columns

> A jQuery implementation of Miller columns

Latest version **0.0.1** (published 2018-02-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install jquery-miller-columns
pnpm add jquery-miller-columns
yarn add jquery-miller-columns
bun add jquery-miller-columns
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2018-02-16 |
| First published | 2018-02-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 20.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Gergő Gänszler |
| Maintainers | antalaron |
| Keywords | miller columns, jquery-plugin |

## Links

- npm: https://www.npmjs.com/package/jquery-miller-columns
- Repository: https://github.com/ggergo/jquery-miller-columns
- Homepage: https://github.com/ggergo/jquery-miller-columns#readme
- Issues: https://github.com/ggergo/jquery-miller-columns/issues
- npm.io page: https://npm.io/package/jquery-miller-columns

## Alternatives

- [gamedig](https://npm.io/package/gamedig.md) — 29.3K weekly downloads
- [join-monster](https://npm.io/package/join-monster.md) — 12.8K weekly downloads
- [masked](https://npm.io/package/masked.md) — 5.5K weekly downloads
- [@comunica/actor-query-process-explain-logical](https://npm.io/package/@comunica/actor-query-process-explain-logical.md) — 4.7K weekly downloads
- [@veracity/vui](https://npm.io/package/@veracity/vui.md) — 4.6K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2018-02-16

## README

# A [jQuery](http://jquery.com) implementation of [Miller columns](http://en.wikipedia.org/wiki/Miller_columns).

## Fully customizable
* Use any data source you prefer (HTML, AJAX, JSON, JavaScript object, XML, etc.)
* Use it with or without any CSS framework (Bootstrap, Foundation, etc.)
* Extend or replace the default event listener (e.g. keyboard navigation)
* Assign the same node to multiple nodes, it even deals with circles
* Add more functionality (e.g. search, preview, toolbar, etc.)

## Dependencies
* \>= jQuery 1.7

## Compatibility
* \>= IE 8

## Installation
**Via npm:**

Run in your console: `npm install jquery-miller-columns`

**Via bower:**

`bower install jquery-miller-columns`

**Manual installation:**

Download the [latest release](https://github.com/ggergo/jquery-miller-columns/releases).

#### Easy to use
1. Add a DOM element with an id attribute to the document.

```html
<div id="my-miller-column"></div>
```

2. Add jQuery and the ggergoMillerColumns plugin directly above the closing `</body>` tag.

```html
<script type="text/javascript" src="url/to/js/jquery-1.11.3.js"></script>
<script type="text/javascript" src="url/to/js/jquery.ggergoMillerColumns.js"></script>

</body>
```

3. Initialize the plugin.

```javascript
$('#my-miller-column').ggergoMillerColumns(/* { settings... } */);
```

#### Settings, defaults
| Parameter name | Default value                | Description                                 |
|:-------------- |:---------------------------- |:------------------------------------------- |
| root           | 1                            | root option id                              |
| column         | 'ul'                         | the column element tag name                 |
| option         | 'li'                         | the option element tag name                 |
| children       | function (id) {}             | return array of child id-s                  |
| optionContent  | function (id) { return {}; } | return html content of option               |
| optionAttr     | function (id) { return {}; } | return object of option attributes          |
| columnAttr     | function (id) { return {}; } | return object of column attributes          |
| selectCallback | function (option) {...}      | callback function after selecting an option |
| onClick        | function (event) {...}       | onClick event listener                      |

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