Angular hover-class directive
JavaScript CSS HTML
Latest commit 76607ec Jan 3, 2017 @ryanve 0.1.1
Permalink
Failed to load latest commit information.
.editorconfig
.gitattributes
.gitignore
LICENSE huh..huh..hover Jan 3, 2017
README.md just develop Jan 3, 2017
index.html
index.js
package.json
style.css
test.js

README.md

hover-class

Angular hover-class directive

Demo

Hover to activate

<div hover-class="area--activated" class="area">area</div>

Hover to activate target element(s)

<div hover-class='{".target": ".target--activated"}'>area</div>

Setup

Install via npm

npm install hover-class --save

Declare dependency on your app

angular.module('yourApp', ['hoverClass'])

Or define the directive on your app

angular.module('yourApp', []).directive('hoverClass', require('hover-class'))

Develop

npm test

Other directives