app-loading
Focus on Medium-like app loading style
Last updated 5 years ago by kchan .
MIT · Original npm · Tarball · package.json
$ cnpm install app-loading 
SYNC missed versions from official npm registry.

app-loading

js-standard-style

Quick start

bower install app-loading works with browsers

appLoading.start()
appLoading.stop()

npm install app-loading works with webpack

import appLoading from 'app-loading'
appLoading.start()

Advance usage

// set up some custom color
// globally
appLoading.setColor('#333')
appLoading.start()
// reset
appLoading.setColor(null)

// or for temporary use, this will override the `appLoading.setColor` setting
appLoading.start('#f83')
appLoading.start('yellow')
appLoading.start('rgba(76, 207, 177, 0.7)')

// use on server side
if (typeof window !== 'undefined') {
  import appLoading from 'app-loading'
  appLoading.start()
}

Changelog

v0.0.5 - 2015/09/03

  • Fix setColor and add test

v0.0.4 - 2015/08/22

  • Rewrite in ES6

v0.0.3 - 2015/07/20

  • add setColor method

v0.0.2

  • Clean code
  • Update demo

v0.0.1

  • Prototype.
  • Medium style loading bar.

Current Tags

  • 0.0.51                                ...           latest (5 years ago)

6 Versions

  • 0.0.51                                ...           5 years ago
  • 0.0.5                                ...           5 years ago
  • 0.0.43                                ...           5 years ago
  • 0.0.42                                ...           5 years ago
  • 0.0.41                                ...           5 years ago
  • 0.0.4                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (8)
Dependents (2)

Copyright 2014 - 2016 © taobao.org |