1.0.12 • Published 2 years ago
draggable-float-icon v1.0.12
FloatIcon
vue3 可拖动悬浮组件,支持移动端、pc 端
使用:
<template>
<FloatIcon
icon="https://fuss10.elemecdn.com/a/3f/3302e58f9a181d2509f3dc0fa68b0jpeg.jpeg"
:initLocation="{ x: 340, y: 500 }"
:size="{ width: 50, height: 50 }"
/>
</template>
<script setup lang="ts">
import { FloatIcon } from "./components/FloatIcon.vue";
</script>
<style></style>