0.1.3 • Published 2 years ago

rolloc v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Rolloc

A Javascript library to create spin roller.

Installation

  1. Install
npm install rolloc # or yarn/pnpm

Basic Usage

HTML:

<div id="roller"></div>

JS:

import { createRolloc } from "rolloc"

const options = {
    size: {
        height: 400,
        width: 400
    },
    rollOptions: {
        duration: 5000
    }
}

const rolloc = createRolloc("#roller", options)

Running the demo locally

git clone https://github.com/zuramai/rolloc.git
cd rolloc
pnpm install -r

# Run the js
pnpm run js:dev

# And run the demo site (vite)
pnpm run dev
0.1.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.3

2 years ago

0.0.2

2 years ago

0.0.2-beta.1

2 years ago

0.0.1

2 years ago