Skip to content

mattlaver/angular-justgage

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 

angular-justgage

JustGage directive for AngularJS

License: MIT


About

ngJustGage A simple AngularJS directive wrapper for JustGage

It currently only supports a small subset of what JustGage is capable of as that's all I needed for the project I'm working on. I'm happy to add more functionality on request.


Install

Download the demo or use bower

bower install angular-justgage

Usage

<!DOCTYPE html>
<html ng-app="app">
<head>
    <script src="..\libs\angular-1.0.5.js"></script>
    <script src="..\libs\raphael.2.1.0.min.js"></script>
    <script src="..\libs\justgage.1.0.1.js"></script>
    <script src="..\ng-justgage.js"></script>
    <script src="app.js"></script>
</head>
<body ng-controller="myController">
    <just-gage id="test1" class="someClass" min=0 max=100 value=42 title="Test 1"></just-gage>
</body>
</html>

Demo

angular-justgage