Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
This angular package provides 2 variants of the progress bars that can be used:
a. Advance Progress Bar
b. Simple Progress Bar
StackBlitz Demo here !
For any support requests please contact
npm i angular-gradient-progressbar
import { AngularGradientProgressbarModule } from "angular-gradient-progressbar";
@NgModule({
declarations: [ ... ],
imports: [AngularGradientProgressbarModule ]
})
export class YourModule {}
Inside your page.component.html
<angular-gradient-progressbar [type]="1"></angular-gradient-progressbar>
You need to specify a type of progress bar you want to use other wise it defaults to 1.
Their are two types of gradient progress bar included:
Type "1": (Advance Gradient Progress Bar) Options Available for this are:
a. Provide Value for the progress bar using value
(defaults to 75)
<angular-gradient-progressbar [type]="1" [value] ="75"]> </angular-gradient-progressbar>
b.Changing tool tip text color 3 options are available
<angular-gradient-progressbar [type]="1" lowTextColor="red"> </angular-gradient-progressbar>
<angular-gradient-progressbar [type]="1" mediumTextColor="orange"> </angular-gradient-progressbar>
<angular-gradient-progressbar [type]="1" highTextColor="green"> </angular-gradient-progressbar>
c. Change Progress bar width using progressBarWidth
( default is 7).
Note: Progress Bar width works in opposite way higher the value lower the width and vice a versa.
<angular-gradient-progressbar [type]="1" [progressBarWidth]="7"]> </angular-gradient-progressbar>
d. Change Number of Bar Count using barCount
( default is 7 and max is 10).
<angular-gradient-progressbar [type]="1" [barCount] ="7"]> </angular-gradient-progressbar>
e. You Can change the Quartile Value of the progress bar which define the number of data points to define range for (low,medium,high) using quartileValueLow
and quartileValueHigh
.
<angular-gradient-progressbar [type]="1" [quartileValueLow]="4" [quartileValueHigh]="7"]> </angular-gradient-progressbar>
Note: In the above example anything below 4 is low, between 4 and 7 is medium and anything above 7 is high. If u are changing these values make sure your aware of the barCount value as that quatile showcase can change accordingly.
f. You can show and hide tooltip by setting showToolTip
true or false ( default is true).
<angular-gradient-progressbar [type]="1" [showToolTip]="true"]> </angular-gradient-progressbar>
Type "2": (Simple CSS Gradient Progress Bar) Options Available for this are:
a. if the type is set to 2 you can set the progress value for the second progress bar using secondValue
( default value is 75 and max is 100)
<angular-gradient-progressbar [type]="2" [secondValue]="75"]> </angular-gradient-progressbar>
Note: This project was ported from react version BlogPost to angular and converted into a Npm Package
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
FAQs
Unknown package
The npm package odioin receives a total of 0 weekly downloads. As such, odioin popularity was classified as not popular.
We found that odioin demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.