
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
special-ui
Advanced tools
你要的特效UI组件在这里!来看看有惊喜的!
npm i special-ui
import Vue from 'vue'
import specialUi from 'special-ui'
Vue.use(specialUi)
import Vue from 'vue'
import {FlyLine} from 'special-ui'
Vue.use(FlyLine)
一个2维的飞线组件
import Vue from 'vue'
import {FlyLine} from 'special-ui'
Vue.use(FlyLine)
lines = [
{
start: [329.3029054888133, 166.22157534665564],
end: [800, 80],
},
{
start: [829.3029054888133, 166.22157534665564],
end: [1400, 80],
arcRadis: -0.6
}
]
config = {
isDash: false
}
<fly-lIne :lines="lines" :config="config"></fly-lIne>
config: 对象
属性 | 说明 | 默认值 |
---|---|---|
lineColor | 飞线颜色 | #FFCE00 |
isDash | 是否是虚线 | true |
dash | 虚线配置 | '3, 3' |
isFly | 是否显示飞线动效 | true |
flyLineColor | 飞线动效颜色 | #FFCE00 |
isShowArrow | 是否显示箭头 | true |
lines: 数组
属性 | 说明 | 默认值 |
---|---|---|
start | 起点坐标 | 无 |
end | 终点坐标 | 无 |
arcRadis | 曲线系数 | 0.5 |
FAQs
a library of effects related to visualization!
We found that special-ui 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
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.