Skip to content

TextScroll 文字滚动

文字滚动组件。

基本用法

vue
<template>
  <TextScroll :list="messages" />
</template>

<script setup lang="ts">
const messages = ref(['消息1', '消息2', '消息3'])
</script>

Props

参数说明类型默认值
list滚动内容数组string[][]
speed滚动速度number50

基于 MIT 许可发布