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.
vue3-radial-progress
Advanced tools
A smart and light radial progress bar component for Vue 3.
The original project it's only available to vue 1 and 2, so i decided rewrite it to vue 3.
yarn add vue3-radial-progress // npm install --save vue3-radial-progress
import { createApp } from 'vue';
import RadialProgress from "vue3-radial-progress";
// Your app instance here
const app = createApp(App);
app.use(RadialProgress);
import RadialProgress from "vue3-radial-progress";
export default {
components: {
RadialProgress
},
};
<template>
<RadialProgress
:diameter="200"
:completed-steps="completedSteps"
:total-steps="totalSteps">
<!-- Your inner content here -->
</RadialProgress>
</template>
<script>
import { ref, defineComponent } from "vue";
export default defineComponent({
setup(){
const completedSteps = ref(0);
const totalSteps = ref(10);
return {
completedSteps,
totalSteps
}
}
})
</script>
Name | type | Default | description |
---|---|---|---|
diameter | number | 200 | Sets width/diameter of the inner stroke. |
totalSteps | number | 10 | Sets the total steps/progress to the end. |
completedSteps | number | 0 | Sets the current progress of the inner stroke. |
startColor | string | '#00C58E' | Sets the start color of the inner stroke (gradient). |
stopColor | string | '#00E0A1' | Sets the end color of the inner stroke (gradient). |
innerStrokeColor | string | '#2F495E' | Sets the color of the inner stroke to be applied to the shape. |
strokeWidth | number | 10 | Sets the width of the stroke to be applied to the shape. see: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-width |
innerStrokeWidth | number | 10 | Sets the width of the inner stroke to be applied to the shape. |
strokeLinecap | string | 'round' | Sets the shape to be used at the end of stroked. see: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-linecap |
animateSpeed | number | 1000 | Sets how long the animation should take to complete one cycle. see: https://www.w3schools.com/cssref/css3_pr_animation-duration.asp |
fps | number | 60 | Sets the frames per seconds to update inner stroke animation. |
timingFunc | string | 'linear' | Sets how the animation progresses through the duration of each cycle. see: https://developer.mozilla.org/en-US/docs/Web/CSS/animation-timing-function |
isClockwise | boolean | true | Sets the inner stroke direction. |
Name | Description |
---|---|
default | Sets the default slot inner the radial progress |
FAQs
A smart and light radial progress bar component for Vue 3.
The npm package vue3-radial-progress receives a total of 3,858 weekly downloads. As such, vue3-radial-progress popularity was classified as popular.
We found that vue3-radial-progress 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.
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.