Socket
Socket
Sign inDemoInstall

material-spinner

Package Overview
Dependencies
2
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    material-spinner

A jQuery based Material Design Spinner


Version published
Weekly downloads
18
decreased by-55%
Maintainers
1
Install size
2.84 MB
Created
Weekly downloads
 

Readme

Source

Material Spinner

A jQuery based Material Design Spinner.

Installation

Include the script after jquery.

<script src="path/to/jquery.min.js"></script>
<script src="path/to/material.spinner.min.js"></script>

or require it in CommonJS

var $ = require('jquery');
require('material-spinner');

Usage

via Data API

<div id="spinner" data-spinner='{"radius": 25}'></div>

via Javascript

$('#spinner').spinner({radius: 25});

Options

Namedafaultdescription
radius25Optional, in px
strokeWidth5Optional, in px
duration2Optional, in seconds. Represent the duaration of a round
color'#3f88f8'Optional. MUST BE a valid color hex string

Keywords

FAQs

Last updated on 26 Sep 2015

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc