Socket
Socket
Sign inDemoInstall

v-hover

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

v-hover

Direction-aware hover effect for Vue2.0.


Version published
Maintainers
1
Created
Source

v-hover

npm version

Direction-aware hover effect for Vue2.0, write by typescript. Demo

Installation

npm install v-hover -S

How to use

Include plugin in your entry file e.g. main.js.

import VHover from 'v-hover'

Vue.use(VHover)

in template:

<vhover-list>
    <vhover-item></vhover-item>
    <vhover-item></vhover-item>
    ...
</vhover-list>

you can custom overlay slot in vhover-item by:

<vhover-item>
  <div slot="overlay">some thing...</div>
</vhover-item>

Options

NameTypeDefaultDescription
durationString      "300ms"animation-duration
classNameString"vhover"vhover-item class
timingFnString"ease"animation-timing-function
perspectiveBooleanfalseperspective

License

MIT © masonz

Keywords

FAQs

Package last updated on 20 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc