<template>
  <div class="demo-tooltip-trigger">
    <ui-tooltip
      :trigger="{
        target: 'click',
        popper: 'hover',
      }"
      class="item"
      content="hover离开关闭"
      placement="top-start">
      <ui-button>点击打开</ui-button>
    </ui-tooltip>
  </div>
</template>
<script>
import { Tooltip, Button } from "amumu-ui"
export default {
  components: {
    "ui-tooltip": Tooltip,
    "ui-button": Button,
  },
  data() {
    return {
      value: "",
    }
  },
}
</script>
