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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?