New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@clunch/process-wave

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clunch/process-wave

一个圆形水波进度图。

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

process-wave

一个圆形水波进度图。

downloads Version GitHub repo commit License GitHub repo stars

如何使用?

首先,需要安装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'/>
  • process:进度(闭区间0~1,比如0.5)

除了上面的必输项外,还有下列可选项:

属性类型描述默认值可选值
cxnumber图形中心位置横坐标画布中心横坐标
cynumber图形中心位置纵坐标画布中心纵坐标
radiusnumber图形半径画布最小边的一半
deepnumber动画进度0.250~1

由于此组件是基于Clunch开发的,我们默认你已经掌握了相关知识。

<< 你可以点击此处学习Clunch.js如何使用

开源协议

MIT

Copyright (c) 2021-2022 hai2007 走一步,再走一步。

Keywords

clunch

FAQs

Package last updated on 23 Aug 2022

Did you know?

Socket

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.

Install

Related posts