0.30.4 • Published 4 years ago

z-ellipsis v0.30.4

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

使用方法

<template>
  <z-ellipsis :roll="true" triger="hover" ellipsis-position="middle">
    长文本长文本长文本长文本长文本长文本长文本长文本长文本长文本长文本长文本长文本长文本
  </z-ellipsis>
</template>


<script lang="ts">
import { defineComponent } from 'vue';
import ZEllipsis  from 'z-ellipsis';
import 'z-ellipsis/dist/style.css'
export default defineComponent({
    name: 'App',
    components: {
    ZEllipsis
  }
})
</script>

参数说明

参数说明类型默认值
content内容string
showTips是否显示Tipsbooleantrue
ellipsisPosition省略号位置right , middleright
roll是否滚动(开启时showTips默认置为false)booleanfalse
speed滚动速度string8s
triger滚动触发方式always , hoverhover
background背景string#fff
color字体颜色string#000
0.30.4

4 years ago

0.30.3

4 years ago

0.30.2

4 years ago

0.30.1

4 years ago

0.20.4

4 years ago

0.20.3

4 years ago

0.20.2

4 years ago

0.20.1

4 years ago

0.20.0

4 years ago

0.10.0

4 years ago