Negotiate Pushing Milestone

    hover-class

    0.1.1 • Public • Published

    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

    Install

    npm i hover-class

    DownloadsWeekly Downloads

    0

    Version

    0.1.1

    License

    MIT

    Last publish

    Collaborators

    • ryanve