New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

rolloc

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rolloc

A Javascript library to create a rolling spinner

latest
Source
npmnpm
Version
0.1.3
Version published
Maintainers
1
Created
Source

Rolloc

A Javascript library to create spin roller.

Installation

  • 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

FAQs

Package last updated on 29 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts