Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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
  • npm
  • Socket score

Version published
Maintainers
1
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

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

  • 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