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