spin
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/spin package

0.0.1 • Public • Published

spin.js

An animated CSS3 loading spinner with VML fallback for IE.

  • No images, no external CSS
  • No dependencies
  • Highly configurable
  • Resolution independent
  • Uses VML as fallback in old IEs
  • Uses @keyframe animations, falling back to setTimeout()
  • Works in all major browsers, including IE6
  • Small footprint (~1.9K gzipped)
  • MIT License

Usage

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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i spin

      Weekly Downloads

      9,881

      Version

      0.0.1

      License

      none

      Last publish

      Collaborators

      • tjholowaychuk