Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
vuejs-progress-bar
Advanced tools
Readme
ProgressBar for vue.js
SVG/Vector based
4 modes: Line, Circle, Cylinder and Battery
v1.2.8
Do you have questions or want a new feature? Use the "Issues" section :point_left:
install:
npm install vuejs-progress-bar --save
Import: (in your main.js)
import ProgressBar from 'vuejs-progress-bar'
Vue.use(ProgressBar)
Use: (in your local .vue file/component, html section)
<progress-bar
:options="options"
:value="value"
/>
<!-- Options struct: -->
options: {
text: {
color: '#FFFFFF',
shadowEnable: true,
shadowColor: '#000000',
fontSize: 14,
fontFamily: 'Helvetica',
dynamicPosition: false,
hideText: false
},
progress: {
color: '#2dbd2d',
backgroundColor: '#333333',
inverted: false
},
layout: {
height: 35,
width: 140,
verticalTextAlign: 61,
horizontalTextAlign: 43,
zeroOffset: 0,
strokeWidth: 30,
progressPadding: 0,
type: 'line'
}
}
Name | Type | Default | Description |
---|---|---|---|
value | Number | 0 | Value of progressbar % |
color | String | #FFFFFF | Text color |
shadowEnable | String | true | Text shadow enable |
shadowColor | String | #000000 | Text shadow color |
hideText | Boolean | false | Hide text (%) |
fontSize | String | 14px | Font size of % text |
fontFamily | String | Helvetica | Font family text |
dynamicPosition | Boolean | false | Progress text % follow progress bar |
color | String | #2dbd2d | Progress color, use hex or rgb |
backgroundColor | String | #C0C0C0 | Background color, use hex or rgb |
inverted | Boolean | false | Invert circle progress |
width | Number | 140 | Width |
height | Number | 35 | Height, use strok for progress height |
verticalTextAlign | Number | 61 | Positioning of % text vertical |
horizontalTextAlign | Number | 43 | Positioning of % text horizontal |
zeroOffset | Number | 0 | Offset for zero (0%) for line progress bar |
strokeWidth | Number | 30 | Width of background of progress |
progressPadding | Number | 0 | Padding between background and progress bar (line only) |
type | String | line | type of progress bar: line, circle, cylinder or battery |
npm run build
git add .
git commit -m "Message.."
# Do some work...
# x.x.1 -> x.x.2
npm version patch
# x.1.0 -> x.2.0
npm version minor
# 1.0.0 -> 2.0.0
npm version major
FAQs
A progress bar component for Vue.js
The npm package vuejs-progress-bar receives a total of 1,308 weekly downloads. As such, vuejs-progress-bar popularity was classified as popular.
We found that vuejs-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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.