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

vue-waveview

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-waveview

一个借助贝塞尔曲线实现的动态水波纹组件

latest
npmnpm
Version
1.1.0
Version published
Weekly downloads
4
33.33%
Maintainers
1
Weekly downloads
 
Created
Source

使用方式

import TLWaveView from 'vue-waveview'
import 'vue-waveview/vue-waveview.css'

  <div style="width: 200px;height: 200px;">
    <TLWaveView
     :waveAmplitude="waveAmplitude"
     :waveHeight="waveHeight"
     :width="200"
     :height="200"
     bgColor="gainsboro"
     :isCycle="true"
     :styleObj="{border: '1px solid white', borderRadius: '50%'}"
     waveColor="rgba(0, 255, 255, 255)"
    ></TLWaveView>
  </div>
	

字段说明

字段类型版本说明
isCycleBoolean1.1.0是否圆形化,组件长宽一样才有效
waveColorString1.0.3水波纹的颜色
bgColorString1.0.1组件背景,默认为white,圆形化才会有效
styleObjObject1.0.1样式对象,例如添加圆边框、使组件圆形化
waveHeightNumber1.0.1波纹高度,介于0到组件高度之间
waveAmplitudeNumber1.0.1波纹振幅,默认等于1/4组件宽度

示例图1

圆形化会出现背景色,可设置bgColor颜色进行调节

动图1

示例图2

动图2

示例图3

动图2

示例图4

动图2

Keywords

自定义组件

FAQs

Package last updated on 08 Feb 2023

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