Skip to content

tip

文字气泡

查看代码
html
<button class="open-btn open-btn-primary" open-tip-text="我在上面" open-tip-type="top">顶部文字气泡</button>
<button class="open-btn open-btn-primary" open-tip-text="我在下面" open-tip-type="bottom">底部文字气泡</button>
<button class="open-btn open-btn-primary" open-tip-text="我在左边" open-tip-type="left">左边文字气泡</button>
<button class="open-btn open-btn-primary" open-tip-text="我在右边" open-tip-type="right">右边文字气泡</button>

<script setup>
	import { onMounted } from 'vue'
	import opener from '../public/opener.esm.js'
	onMounted(()=>{
		opener.tip();
	})
</script>