# scroll-to-select

> Horizontal selection beam that lights up specific elements and calls select/unselect callbacks

Latest version **0.9.0** (published 2017-04-09) · 0 weekly downloads

## Install

```sh
npm install scroll-to-select
pnpm add scroll-to-select
yarn add scroll-to-select
bun add scroll-to-select
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.9.0 |
| Published | 2017-04-09 |
| First published | 2016-12-31 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | erikpukinskis |

## Links

- npm: https://www.npmjs.com/package/scroll-to-select
- Repository: https://github.com/erikpukinskis/scroll-to-select
- Homepage: https://github.com/erikpukinskis/scroll-to-select#readme
- Issues: https://github.com/erikpukinskis/scroll-to-select/issues
- npm.io page: https://npm.io/package/scroll-to-select

## Dependencies (3)

- [add-html](https://npm.io/package/add-html.md) *
- [web-element](https://npm.io/package/web-element.md) *
- [module-library](https://npm.io/package/module-library.md) *

## Recent versions

- 0.9.0 (latest) — 2017-04-09
- 0.8.0 — 2017-04-05
- 0.7.0 — 2017-04-05
- 0.6.0 — 2017-04-05
- 0.5.0 — 2017-04-02
- 0.4.0 — 2017-03-27
- 0.3.0 — 2017-01-01
- 0.2.0 — 2016-12-31
- 0.1.0 — 2016-12-31

## README

**scroll-to-select** puts a selector beam on a web page, and lights up elements with ids you provide.

![Screenshot of a checkbox that's lighting up light blue with a similar color bar behind, reads "HIEEE"](screenshot.png)

HTML:

```html
<div id="one">ONE</div>
<div id="two">TWO</div>
<div id="three">THREE</div>
```

Javascript:

```javascript

scrollToSelect({
  ids: ["one", "two", "three"],
  onSelect: function(oneTwoOrThree) {
    // do your worst
  },
  text: "HIEEE"
})
```

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