Socket
Book a DemoInstallSign in
Socket

@stejnar/progress

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stejnar/progress

Angular component library for SVG based progress indicators

1.0.1
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@stejnar/progress

Angular component library for SVG based progress indicators.

Build with lib-starter: https://github.com/Stejnar/lib-starter

npm package:
https://www.npmjs.com/package/@stejnar/progress

Components

1. ProgressSpinner

<progress-spinner>

@Input value: number

  • in percent

@Input fadeInOut: boolean

  • currently required
  • provides fadein and fadeout animation
  • use this instead of ngIf

@Input infinite: boolean

  • requires value if set to false

@Input strength: number

  • stroke width
  • defaults to 10px

@Input ratio: number

  • ratio * strength = width === height
  • defaults to 10

@Input speed: number

  • in seconds per rotation
  • defaults to 0.75s/rot

@Input color: string

  • any format svg supports
  • defaults to #11bb11 (green)

Usage

<progress-spinner fadeInOut="shown" infinite="true" strength="5" ratio="10">
</progress-spinner>

<progress-spinner value="progress" color="red"></progress-spinner>

Keywords

angular2

FAQs

Package last updated on 09 Jul 2017

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.