# simple-scroll-toggle-class

> Simple Scroll Toggle Class Vanilla JS Library

Latest version **1.0.2** (published 2018-06-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install simple-scroll-toggle-class
pnpm add simple-scroll-toggle-class
yarn add simple-scroll-toggle-class
bun add simple-scroll-toggle-class
```

## 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.2 |
| Published | 2018-06-09 |
| First published | 2018-06-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 12.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | daiki narushima |
| Maintainers | dn16 |

## Links

- npm: https://www.npmjs.com/package/simple-scroll-toggle-class
- Repository: https://github.com/dn16/simple-scroll-toggle-class
- Homepage: https://github.com/dn16/simple-scroll-toggle-class#readme
- Issues: https://github.com/dn16/simple-scroll-toggle-class
- npm.io page: https://npm.io/package/simple-scroll-toggle-class

## Recent versions

- 1.0.2 (latest) — 2018-06-09

## README

[![npm version](https://badge.fury.io/js/rescue-fire.svg)](https://badge.fury.io/js/rescue-fire)
[![Build Status](https://travis-ci.org/dn16/simple-scroll-toggle-class.svg?branch=master)](https://travis-ci.org/dn16/simple-scroll-toggle-class)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

# Simple Scroll Toggle Class

## Installation

`<script src="./path/to/simpleScrollToggleClass.min.js"></script>`

## Usage

```js
var example = new simpleScrollToggleClass.init({
  className: 'fix',
  element: '#header',
  elementList: ['.title_header', '.label_header'],
  eventPosition: "top",
  duration: 0,
});
```


## Develop
```
git clone https://github.com/dn16/simple-scroll-toggle-class simpleScrollToggleClass/
cd simpleScrollToggleClass
rm -rf .git
npm install
```

## Script usage
| Command        | Description                                                   |
|----------------|---------------------------------------------------------------|
| build          | build the project in `~/dist` directory                       |
| format         | Run Prettier                                                  |

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