Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ryanve/hover-class

Angular hover-class directive
https://github.com/ryanve/hover-class

angular angular-directive angular-directives

Last synced: about 1 month ago
JSON representation

Angular hover-class directive

Awesome Lists containing this project

README

        

# hover-class
Angular `hover-class` directive

## [Demo](https://ryanve.github.io/hover-class/)

#### Hover to activate

```html

area

```

#### Hover to activate target element(s)
```html

area

```

## Setup

#### Install via npm

```
npm install hover-class --save
```

#### Declare dependency on your app

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

#### **Or** define the directive on your app

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

## Develop

```
npm test
```

## Other directives
- [click-class](https://www.npmjs.com/package/click-class)
- [label-class](https://www.npmjs.com/package/label-class)