
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
step-progress-bar
Advanced tools
Angular 6 or higher
npm i step-progress-bar
Add to NgModule: add StepProgressBarModule to desired NgModule,
import { CommonModule } from '@angular/common';
import {StepProgressBarModule} from 'step-progress-bar'
@NgModule({
imports: [
CommonModule,
StepProgressBarModule // StepProgressBarModule added
],
bootstrap: [App],
declarations: [App]
})
class MainModule {}
Add redesprou-step-progress-bar in desired hmtl page, providing the desired number of steps
...
<div>
<redesprou-step-progress-bar steps="5"></redesprou-step-progress-bar>
</div>
...
Create a ViewChild for StepProgressBarComponent and call is methods as needed
import { StepProgressBarComponent } from 'step-progress-bar/lib/step-progress-bar/step-progress-bar.component';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
})
export class AppComponent {
@ViewChild(StepProgressBarComponent, {static: false}) stepProgressBarComponent: StepProgressBarComponent;
success() {
this.stepProgressBarComponent.setSuccess();
}
fail() {
this.stepProgressBarComponent.setFail();
}
reset() {
this.stepProgressBarComponent.reset();
}
}
| Option | Description |
|---|---|
| step | The number of steps in this progress bar |
setSuccess():void
Advances one step, setting current step as "SUCESS" Do nothing if last step is alredy set
setFail():void
Advances one step, setting current step as "FAIL" Do nothing if last step is alredy set
reset():void
Resets to the first step, setting all steps as "PENDENT"
MIT
GitHub @erivanbarbosa ·
FAQs
Simple step progress bar for angular 6+
We found that step-progress-bar demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.