0.2.4 • Published 2 years ago

ngx-easy-progress v0.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

NgxEasyProgress

npm

An easy and customizable progress bar for angular.

Repo

GitHub - Talon2295 - ngx-easy-progress

Install

npm install ngx-easy-progress

Usage

<ngx-easy-progress [options]="pbOptions" [progress]=".47" [buffer]=".85"></ngx-easy-progress>

Progress is a number between 0 and 1 If progress < 0 bar is indeterminate Buffer is a number between 0 and 1

Options

interface progressBarOptions {
  vertical?: boolean;
  invert?: boolean;
  thickness?: string;
  fgColor?: string;
  bgColor?: string;
  bufColor?: string;
  borderRadius?: string;
  align?: "left" | "center" | "right";
  animate?: boolean;
  animationParams?: string;
  indeterminateLength?: string;
}
FieldDescriptionDefault value
verticalVertical or horizontal barfalse
invertReverses the direction of growthfalse
thicknessBar thickness20px
fgColorBar color#4477ee
bgColorBackground color#ddd
bufColorBuffer bar color#eee
borderRadiusBar border radius
alignBar alignment in the div, useful when verticallyleft
animateBar progress animationfalse
animationParamsAnimation parameters seconds.3s ease-out
indeterminateLengthSize of progress when indeterminate15%

Demo

Run ng serve in the repo root.

The source is inside projects/demo

Contribute

Please let me know if there are some bug or if you need some extra features.

0.2.4

2 years ago

0.2.3

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago