<script setup lang="ts">
import { ref, watch } from "vue";
import ReAnimateSelector from "@/components/ReAnimateSelector";

defineOptions({
  name: "AnimateCss"
});

const animate = ref("");

watch(animate, () => {
  console.log("animate", animate.value);
});
</script>

<template>
  <el-card shadow="never">
    <template #header>
      <div class="card-header">
        <span class="font-medium">
          <el-link
            href="https://animate.style/"
            target="_blank"
            style="margin: 0 4px 5px; font-size: 16px"
          >
            animate.css
          </el-link>
          选择器
        </span>
      </div>
      <el-link
        class="mt-2"
        href="https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/animatecss.vue"
        target="_blank"
      >
        代码位置 src/views/components/animatecss.vue
      </el-link>
    </template>
    <ReAnimateSelector v-model="animate" class="w-50!" />
  </el-card>
</template>
