Skip to content

ZHAOzn/vue-hoverbox-al

Repository files navigation

vue-hoverbox-al

一、使用方式

  • 1、安装

    npm install --save vue-hoverbox-al
  • 2、在组件中引用

    import HoverBox from "vue-hoverbox-al";
    @Component({
      components: {
          "vue-hoverbox-al": HoverBox
      }
    })
    <vue-hoverbox-al @hoverIn="hoverin($el)" @hoverOut="hoverout($el)"></vue-hoverbox-al>

二、主要的参数

参数 类型 说明 默认值
hoverIn Function 鼠标进去区域的回调
hoverOut Function 鼠标离开区域的回调
click Function 点击区域的回调

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published