spin.js

A spinning activity indicator

  • 所有者: fgnass/spin.js
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

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

Installation

npm install spin.js

Usage

CSS

<link rel="stylesheet" href="node_modules/spin.js/spin.css">

TypeScript or JavaScript

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.

主要指标

概览
名称与所有者fgnass/spin.js
主编程语言CSS
编程语言JavaScript (语言数: 4)
平台
许可证MIT License
所有者活动
创建于2011-08-16 09:46:36
推送于2024-07-19 20:53:58
最后一次提交2024-07-19 15:49:31
发布数28
最新版本名称4.1.2 (发布于 2024-07-19 15:52:56)
第一版名称1.0.0 (发布于 )
用户参与
星数9.3k
关注者数174
派生数1k
提交数327
已启用问题?
问题数306
打开的问题数11
拉请求数36
打开的拉请求数4
关闭的拉请求数48
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?