Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

app-loading

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

app-loading

Focus on Medium-like app loading style

  • 0.0.51
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-93.1%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

FAQs

Package last updated on 22 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc