DailyJS

Switchery, circles

Alex R. Young

Subscribe

@dailyjs

Facebook

Google+

ui browser iOS graphs

Switchery, circles

Posted by Alex R. Young on .
Featured

ui browser iOS graphs

Switchery, circles

Posted by Alex R. Young on .

Switchery

Switchery

Switchery (GitHub: abpetkov / switchery, License: MIT, bower: switchery) by Alexander Petkov is a checkbox replacement, inspired by iOS 7, complete with animations.

The basic usage is new Switchery(elem). You can pass extra options for the disabled state, the colour, and the animation speed.

Switchery is written using CommonJS modules, but Alexander builds a standalone version that doesn't need require.

Circles

Circles

Circles (GitHub: lugolabs / circles, License: MIT) by Artan Sinani is a small script for creating circular graphs. It doesn't have any dependencies, and can be used like this:

Circles.create({  
  id:         'circles-1',
  percentage: 43,
  radius:     60,
  width:      10,
  text:       7.13,
  colors:     ['#D3B6C6', '#4B253A']
});