Comparing version 1.1.0 to 1.2.0
{ | ||
"name": "gauge", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "A terminal based horizontal guage", | ||
@@ -5,0 +5,0 @@ "main": "progress-bar.js", |
@@ -63,2 +63,10 @@ "use strict" | ||
ProgressBar.prototype.setTheme = function(theme) { | ||
this.theme = theme | ||
} | ||
ProgressBar.prototype.setTemplate = function(template) { | ||
this.template = template | ||
} | ||
ProgressBar.prototype.disable = function() { | ||
@@ -65,0 +73,0 @@ this.hide() |
@@ -84,2 +84,10 @@ gauge | ||
### `gauge.setTheme(theme)` | ||
Change the active theme, will be displayed with the next show or pulse | ||
### `gauge.setTemplate(template)` | ||
Change the active template, will be displayed with the next show or pulse | ||
### Theme Objects | ||
@@ -86,0 +94,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43590
8
324
162