GithubHelp home page GithubHelp logo

arkadiuszsz / angular-hovercard Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yaru22/angular-hovercard

0.0 1.0 0.0 614 KB

Hovercard is a very lightweight Angular directive that is written purely in AngularJS. It is a card that is displayed when you hover over a label. The card can contain any html element.

License: MIT License

JavaScript 37.91% CSS 13.04% HTML 49.05%

angular-hovercard's Introduction

angular-hovercard Analytics

Hovercard is a very lightweight Angular directive that is written purely in AngularJS. It is a card that is displayed when you hover over a label. The card can contain any html element.

Demo

Check out the demo here.

How to Use

Include angular-hovercard.(js|css) in your project (you can do so via bower install angular-hovercard).

Load the directive after loading angular.js

<script src="<path to angular.js>"></script>
<script src="<path to angular-hovercard.js>"></script>

Specify angular-hovercard as a dependency of your Angular module.

var app = angular.module('ngApp', [
  'yaru22.hovercard'
]);

Use it in your project.

<html ng-app="ngApp">
...
<body>
  <hovercard hover-tmpl-url="hoverCardDetail.tmpl">Hover over here</hovercard>.
  ...
</body>
</html>

or check out my Plunker for the minimal setup.

How to Contribute

$ git clone https://github.com/yaru22/angular-hovercard.git
$ cd angular-hovercard
$ npm install; bower install
$ # modify the source code in src/
$ grunt clean; grunt build
$ # test your changes; you can modify demo/ and serve it locally to see the changes.
$ # submit a pull request

angular-hovercard's People

Contributors

8bitdesigner avatar ianshoe avatar yaru22 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.