open-index/open-npm huggingface dataset:
npm package: @sunxianfeng/floatdom
Description: ```shell npm install -S @sunxianfeng/floatdom ```
Latest version: 0.0.17

# floatdom

## 安装

```shell
npm install -S @sunxianfeng/floatdom
```

## 使用

```vue
<script setup>
import { Popover } from '@sunxianfeng/floatdom'
</script>

<template>
  <Popover trigger="hover" :placement="placement" flip>
    <div style="width: 100px; height: 30px; border: 1px solid #bbbbbb">{{ placement }}</div>
    <template #panel>
      <div style="border: 1px solid; width: 150px; height: 100px">{{ placement }}</div>
    </template>
  </Popover>
</template>

<style module></style>
```