# ispinner

> simple ios spinner with css3 animation

Latest version **0.0.2** (published 2016-03-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install ispinner
pnpm add ispinner
yarn add ispinner
bun add ispinner
```

## 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.2 |
| Published | 2016-03-29 |
| First published | 2016-03-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | chemzqm@gmail.com |
| Maintainers | chemzqm |

## Links

- npm: https://www.npmjs.com/package/ispinner
- Repository: https://github.com/chemzqm/ispinner
- Homepage: https://github.com/chemzqm/ispinner#readme
- Issues: https://github.com/chemzqm/ispinner/issues
- npm.io page: https://npm.io/package/ispinner

## Dependencies (2)

- [domify](https://npm.io/package/domify.md) ^1.4.0
- [component-classes](https://npm.io/package/component-classes.md) ^1.2.5

## Recent versions

- 0.0.2 (latest) — 2016-03-29
- 0.0.1 — 2016-03-29

## README

# Ispinner

A simple ios spinner built with css3 animation.
![](http://7b1fyu.com1.z0.glb.clouddn.com/Screen%20Shot%202016-03-29%20at%201.03.14%20PM.png)

## Install

    npm i ispinner -S

## Usage

``` js
var ispinner = require('ispinner')
var el = document.getElementById('#spinner')
ispinner(el, {white: true})
```

## API

### ispinner(el, [option])

* `el` is parent element to attach spinner element
* `option` is optional, it contains `white` and `width`
    * when `white` is true, spinner would be white color
    * when `width` is set, it would be applied to el.style.width and el.style.height.
* spinner element is returned

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