lc-vue-text-tip
lc-vue-text-tip
安装
npm i lc-vue-text-tip
依赖
- vue@3.x
- element-plus@2.x
- @vueuse/core
- lodash
Demo
基本使用
<script setup lang="ts">
import { TextTip } from 'lc-vue-text-tip'
</script>
<template>
<div>
<TextTip msg='阿斯顿发射点发射点发射点阿斯顿发射点发射点'/>
</div>
<div style='width: 100px;'>
<TextTip msg='阿斯顿发射点发射点发射点阿斯顿发射点发射点'/>
</div>
</template>
Api
Attributes
| 属性名 | 说明 | 类型 | 默认值 |
|---|---|---|---|
| msg | 文字 | string | '' |
| popperClass | popper class | string | - |
| placement | 出现位置 | top/top-start/top-end/bottom/bottom-start/bottom-end/left/left-start/left-end/right/right-start/right-end | right |
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.2.4 | 3.x | MIT | |
| 1.2.3 | 3.x | MIT | |
| 1.2.2 | 3.x | MIT | |
| 1.2.1 | 3.x | MIT | |
| 1.2.0 | 3.x | MIT | |
| 1.1.1 | 3.x | MIT | |
| 1.1.0 | 3.x | MIT | |
| 1.0.2 | 3.x | MIT | |
| 1.0.1 | ^3.2.47 | MIT | |
| 1.0.0 | ^3.2.47 | MIT |