
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@clunch/process-wave
Advanced tools
一个圆形水波进度图。

首先,需要安装npm包(目前我们仅支持npm方式管理):
npm install --save clunch @clunch/process-wave
然后注册组件:
import Clunch from 'clunch';
import processWave from '@clunch/process-wave';
Clunch.series('ui-process-wave',processWave);
然后,你就可以使用这个组件了:
<ui-process-wave process='number'/>
除了上面的必输项外,还有下列可选项:
| 属性 | 类型 | 描述 | 默认值 | 可选值 |
|---|---|---|---|---|
| cx | number | 图形中心位置横坐标 | 画布中心横坐标 | |
| cy | number | 图形中心位置纵坐标 | 画布中心纵坐标 | |
| radius | number | 图形半径 | 画布最小边的一半 | |
| deep | number | 动画进度 | 0.25 | 0~1 |
由于此组件是基于Clunch开发的,我们默认你已经掌握了相关知识。
Copyright (c) 2021-2022 hai2007 走一步,再走一步。
FAQs
We found that @clunch/process-wave 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

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.