1.0.9 • Published 2 years ago

bluestar-timeline v1.0.9

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

bluestar-TimeLine

时间轴

引入

在script标签中引入组件

//使用HBuilderX导入插件
import TimeLine from "@/uni_modules/bluestar-TimeLine/components/bluestar-TimeLine/bluestar-TimeLine.vue"

//使用npm install
import TimeLine from "bluestar-timeline/components/bluestar-TimeLine/bluestar-TimeLine.vue"

代码演示

<template>
	<TimeLine beginDate="2022-03-22" endDate="2022-03-28" @callback="dateEvent"></TimeLine>
</template>

<script setup lang="ts">
const dateEvent = (obj : object) => {
	console.log(obj)
}
</script>

API

Props

参数说明类型默认值
beginDate开始日期string-
endDate截止日期string-
reverse是否倒序排列booleanfalse
color主题色string#0E75FC

Events

事件名称说明回调参数
bing:callback点击选项时触发选中值

作者

npm.io

1.0.9

2 years ago

1.0.8

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years 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