• Stars
    star
    232
  • Rank 172,847 (Top 4 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 9 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A simple and light weight circular indicator / progressbar plugin.

radialIndicator

A simple and lightweight circular indicator plugin. Also works on Internet Explorer. It supports duration, color range, interpolation, formatting, percentage value and much more. Does work well with jQuery and AngularJS.

Installation

Through npm:

npm install @sudhanshu/radial-indicator

For Devs

When updating the documentation, checkout the repository and run npm install and then npm start to run examples locally.

Major updates

2.0.0
  • Added the option to specify an easing function
  • Added the option to specify an animation duration
  • animate(value, anmDuration) has now an optional second parameter to define a duration from current value to the target value. While the duration property on the indicator is the duration from your minValue to maxValue. If you did not set those values default is 0-100.
  • Replaced setInterval with requestAnimationFrame
  • Fixed: Formatter not handling decimal places correctly
  • Fixed: Animation issue when the minValue is negative #11
  • Fixed: Using decimal value in indicator #25
Release Notes
  • Since setInterval() was replaced with requestAnimationFrame() there are most likely, but depending on your setup, more iterations than before. Causing a smoother animation. Before this release if no precision property was set, default was depending on the step after each iteration. This is no longer the case since we have smaller steps with more decimal places. If you do not specify precision on the indicator, default number of decimals is 0. If you want decimal places, you have to set the precision property.
  • When a format pattern is set, decimal places in the format will take precedence over precision property
  • frameTime and frameNum properties on the indicator are now deprecated. Those fields are only used when no duration property is set and will be removed in a future release.
1.4.0
  • Added option to support rendering in the opposite direction.
1.2.0
  • Added option to allow user interaction on mouse and touch events.
  • Added precision option to support float value.
1.1.0
  • Fixed draw issue on iPad and Android devices and added onAnimationComplete callback.

More Repositories

1

react-number-format

React component to format numbers in an input or as a text.
JavaScript
3,858
star
2

iv-viewer

A zooming and panning plugin inspired by google photos for your web images.
JavaScript
449
star
3

patternLock

A light weight plugin to simulate android like pattern lock interface for your hybrid app or website.
JavaScript
378
star
4

angulargrid

Pinterest like responsive masonry grid system for angular
JavaScript
277
star
5

react-meta-tags

Handle document meta/head tags in isomorphic react with ease.
JavaScript
226
star
6

contextMenu.js

contextMenu.js is a plugin to create windows like context menu with keyboard interaction, different type of inputs ,trigger events and much more.
JavaScript
208
star
7

ScrollMenu

A new interface to replace your old boring scrollbar
JavaScript
201
star
8

jsonQ

A JavaScript library to make manipulation and extraction of data from a JSON very easy and fast.
JavaScript
201
star
9

relative-to-alias

πŸ› οΈ A codemod to do large-scale refactor of your relative path imports to alias.
JavaScript
132
star
10

FlakeId

Twittter Snowflake like unique id generator plugin for nodejs and browser
JavaScript
76
star
11

modalBox.js

A very light weight and minimal plugin to display modal window.
JavaScript
43
star
12

patternCaptcha

Android like pattern matching captcha system for your node webapps.
JavaScript
42
star
13

github-turbo-pr

Chrome extension to optimize github for handling big pull request. πŸš€
JavaScript
25
star
14

eventPause.js

eventPause is a tiny plugin with lots of methods to control events. So whenever you want you can pause and activate any event.
JavaScript
21
star
15

create-effect

A small utility to create custom hooks using useEffect
JavaScript
9
star
16

fqueue

A micro-plugin to queue function execution to handle asynchronous flow and stepping through functions.
JavaScript
7
star
17

coequal.js

coequal is a small utility function to check equality of all data types and objects in JavaScript.
JavaScript
6
star
18

node-website-build-script

Boilerplate to use node.js as a build script for web projects.
CSS
5
star
19

LongListScroller

A small plugin to handle long list scroll using IScroll
JavaScript
3
star
20

findR.js

A find and replace JavaScript plugin for webpages.
JavaScript
3
star
21

deferred

A mini deferred plugin, having just what you need
JavaScript
2
star
22

ask-me-anything

A place where you can ask me anything about frontend, architecture, performance or general career stuff
2
star
23

number-format-app

JavaScript
1
star
24

class-to-function-with-react-hooks

Examples to map lifecycle method of a class component to a functional component with react hooks
JavaScript
1
star
25

isomorphic_react_sample

An isomorphic react sample app.
JavaScript
1
star
26

babel-plugin-react-create-element-alias

A babel plugin to replace React.createElement to an alias
JavaScript
1
star
27

patch-commits

Patch all commits to have desired changes in a branch
JavaScript
1
star
28

s-yadav.github.com

HTML
1
star
29

useful-array-prototypes

This repository contains some useful prototypes which native javascript dont provide or have some perfomance gain over native javascript functionality.
JavaScript
1
star