Skip to content
专业版

FaGlowyCardWrapper 发光卡片容器

FaGlowyCard 的外层容器组件,用于管理光晕效果的配置和鼠标跟随行为。必须与 FaGlowyCard 配合使用。

基础用法

vue
<template>
  <FaGlowyCardWrapper>
    <FaGlowyCard>
      <div>卡片内容</div>
    </FaGlowyCard>
  </FaGlowyCardWrapper>
</template>

API

Props

参数说明类型默认值
hue色相 (0-360)number210
saturation饱和度 (0-100)number100
lightness亮度 (0-100)number50
size光晕尺寸number200
border边框宽度number2
radius圆角大小 (px)number10

Slots

名称说明
default默认插槽,放置 FaGlowyCard 组件

配合 FaGlowyCard 使用

完整示例请参考 FaGlowyCard 组件。