1.0.9 • Published 1 year ago

vue-gather v1.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Vue-Gather

测试阶段-基于vue的组件集合

引用方式

// 在入口文件引入注册
import vueGather from 'vue-gather'
...
app.use(vueGather)
...

<comp-bar-list></comp-bar-list>

组件列表

Options : comp-count-to

PropertyDescriptiontypedefault
startValthe value you want to begin atNumber0
endValthe value you want to arrive atNumber2022
durationduration in millisecondNumber3000
autoplaywhen mounted autoplayBooleantrue
decimalsthe number of decimal places to showNumber0
decimalthe split decimalString.
separatorthe separatorString,
prefixthe prefixString''
suffixthe suffixString''
useEasingis use easing functionBooleantrue
easingFnthe easing functionFunction

notes: when autoplay:true , it will auto start when startVal or endVal change

Functions : comp-count-to

Function NameDescription
mountedCallbackwhen mounted will emit mountedCallback
startstart the countTo
pausepause the countTo
resetreset the countTo

Options : comp-video

PropertyDescriptiontypedefault
data视频信息Object{ url,name...}
controls是否显示控制条Booleanfalse
muted是否静音Booleantrue

Options : comp-bar-list

PropertyDescriptiontypedefault
data数据Array--

Options : comp-describe-box

PropertyDescriptiontypedefault
values数据文本Array'我是#高亮# 文本' 注意:#text#,包裹为高亮文本
highlight高亮文本String'yellow'

Options : comp-border-box

PropertyDescriptiontypedefault
title标题文本String''
width宽度Number0
height高度Number0
titleType标题背景图类型String'1'
loading加载状态Booleanfalse

Options : comp-chart

PropertyDescriptiontypedefault
data数据Array--
colorList默认色值Array--
chartType类型String'bar'
barWidth柱宽Number--
showLegend图例Booleantrue
showGraphic渐变Booleantrue
showXAxisX轴Booleantrue
showYAxisY抽Booleantrue
showTooltip提示框Booleantrue
lgPosition图例PosObject--
girdPositionGirdPosObject--
customOptions自定义配置Object--
onlyOptions唯一配置Object--
autoAnimation轮巡重绘开关Booleanfalse
animationTime重绘间隔Number10000

Options : comp-chart-map

PropertyDescriptiontypedefault
data数据Array--
customOptions自定义配置Object--
geoJsongeojson数据Object--
1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago