procore / spin.js

A spinning activity indicator

Home Page:http://spin.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spin.js JS.ORG

An animated loading spinner

  • No images
  • No dependencies
  • Highly configurable
  • Resolution independent
  • Uses CSS keyframe animations
  • Works in all major browsers
  • Includes TypeScript definitions
  • Distributed as a native ES6 module
  • MIT License

Usage

import {Spinner} from 'spin.js';

var target = document.getElementById('foo');
new Spinner({color:'#fff', lines: 12}).spin(target);

For an interactive demo and a list of all supported options please refer to the project's homepage.

About

A spinning activity indicator

http://spin.js.org

License:MIT License


Languages

Language:HTML 33.7%Language:TypeScript 23.2%Language:CSS 23.0%Language:JavaScript 20.1%