MyGit

fgnass/spin.js

Fork: 1022 Star: 9304 (更新于 2024-12-16 23:45:59)

license: MIT

Language: CSS .

A spinning activity indicator

官方网址 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.

最近版本更新:(数据更新于 1970-01-01 00:00:00)

fgnass/spin.js同语言 CSS最近更新仓库

2024-11-14 08:39:22 primefaces/primeng

2024-10-08 06:03:05 ParisNeo/lollms-webui

2024-09-11 20:01:02 Achuan-2/siyuan-themes-tsundoku

2024-09-03 23:15:18 Zuoqiu-Yingyi/siyuan-theme-dark-plus

2024-07-25 23:02:20 jgthms/bulma

2024-05-31 23:14:02 timpaul/form-extractor-prototype