Last active
April 2, 2016 05:43
-
-
Save elmarti/e27131128e7f38020c233090d3c490bb to your computer and use it in GitHub Desktop.
JustGage Meteor Template HTML - How to use JustGage with NPM in Meteor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- JS file https://gist.github.com/elmarti/ae2a7c4de77da46d6080e8641323a11c --> | |
<template name="JustGage"> | |
{{getGageGraph}} | |
<div id="{{gage.id}}" class="{{gage.class}}" style="width:{{size.width}}; height:{{size.height}}"></div> | |
</template> | |
<!-- whateverPage is the page that where you will put the graph --> | |
<template name="whateverPage"> | |
{{>JustGage yourCustomHelper}} | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment