# marko-slider

> Slider for Markojs v4

Latest version **0.0.7** (published 2019-06-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install marko-slider
pnpm add marko-slider
yarn add marko-slider
bun add marko-slider
```

## 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.7 |
| Published | 2019-06-18 |
| First published | 2019-06-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 8.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | codeallthethingz |
| Maintainers | codeallthethingz |
| Keywords | marko-taglib, marko, slider |

## Links

- npm: https://www.npmjs.com/package/marko-slider
- Repository: https://github.com/codeallthethingz/marko-slider
- Homepage: https://github.com/codeallthethingz/marko-slider#readme
- Issues: https://github.com/codeallthethingz/marko-slider/issues
- npm.io page: https://npm.io/package/marko-slider

## Dependencies (1)

- [format-number](https://npm.io/package/format-number.md) ^3.0.0

## Alternatives

- [adhdev](https://npm.io/package/adhdev.md) — 11.1K weekly downloads
- [react-slide-button](https://npm.io/package/react-slide-button.md) — 310 weekly downloads
- [better](https://npm.io/package/better.md) — 42 weekly downloads
- [react-native-swipe-image](https://npm.io/package/react-native-swipe-image.md) — 22 weekly downloads
- [nl.fokkezb.pulltorefresh](https://npm.io/package/nl.fokkezb.pulltorefresh.md) — 11 weekly downloads

## Recent versions

- 0.0.7 (latest) — 2019-06-18
- 0.0.6 — 2019-06-18
- 0.0.5 — 2019-06-18
- 0.0.4 — 2019-06-18
- 0.0.3 — 2019-06-18
- 0.0.2 — 2019-06-17
- 0.0.1 — 2019-06-17

## README

# Marko Slider

Slider widget for markojs.

## Install

```bash
npm i marko-slider
```

## Usage

```javascript
class {
  handleEvent(e){
    console.log(e.filterName) // height
    console.log(e.filterValues) // [value1, value2]
    // note - filterValues is empty if remove is clicked
  }
}
<slider filterName="height"
        displayName="Height"
        filterStats={ min: 10, max: 20 }
        on-filter-obliterate("handleEvent")/>
```

## Minimum styling is applied

![example sliders](example.png "Example sliders")

- `.slider-box` - size of the slider container.
- `.slider-line` - blue line
- `.slider-point` - red circle with white outline
- `.slider-value-box` - green value box

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