Halogen

使用 React.js 的加载旋转器的集合。「A collection of loading spinners with React.js」

  • 所有者: yuanyan/halogen
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Halogen npm version

Pair on this

A collection of loading spinners with React.js.

  • React 0.14+ Use halogen 0.2
  • React 0.12+ Use halogen 0.1

Demo & Examples

Live demo: yuanyan.github.io/halogen

To build the examples locally, run:

npm install
gulp dev

Then open localhost:9999 in a browser.

Installation

The easiest way to use halogen is to install it from NPM and include it in your own React build process (using Browserify, etc).

You can also use the standalone build by including dist/halogen.js in your page. If you use this, make sure you have already included React, and it is available as a global variable.

npm install halogen --save

Usage

var Loader = require('halogen/PulseLoader');
var Example = React.createClass({
  render: function() {
    return (
      <Loader color="#26A65B" size="16px" margin="4px"/>
    );
  }
});

Loaders

  • PulseLoader
  • RotateLoader
  • BeatLoader
  • RiseLoader
  • SyncLoader
  • GridLoader
  • ClipLoader
  • FadeLoader
  • ScaleLoader
  • SquareLoader
  • PacmanLoader
  • SkewLoader
  • RingLoader
  • MoonLoader
  • DotLoader
  • BounceLoader

Browser Support

IE, Chrome, Firefox, Opera, Safari
---, ---, ---, ---, ---, IE 10+ ✔, Chrome 4.0+ ✔, Firefox 16.0+ ✔, Opera 15.0+ ✔, Safari 4.0+ ✔

主要指标

概览
名称与所有者yuanyan/halogen
主编程语言JavaScript
编程语言JavaScript (语言数: 3)
平台
许可证MIT License
所有者活动
创建于2015-03-25 14:54:37
推送于2024-02-01 10:52:17
最后一次提交2024-02-01 18:52:16
发布数2
最新版本名称v0.2.0 (发布于 2016-04-02 20:32:02)
第一版名称v0.1.9 (发布于 2015-06-08 12:04:01)
用户参与
星数1.6k
关注者数19
派生数150
提交数47
已启用问题?
问题数29
打开的问题数17
拉请求数6
打开的拉请求数5
关闭的拉请求数3
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?