Skip to content

Commit

Permalink
correct typo
Browse files Browse the repository at this point in the history
  • Loading branch information
e-tinkers committed Oct 28, 2021
1 parent dd33f37 commit 832ff99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ You can setup how often the `update()` methold should be called by wrapping it w

#### Re-config the gauge

If for any reason you would need to re-config the guage (for example, re-scale the display panel) dynamically, there is a helper function `setConfig()` allows to passing the new configuration object. Calling 'render()` method is required for the new settings to be taken effect after changing the configuration.
If for any reason you would need to re-config the guage (for example, re-scale the display panel) dynamically, there is a helper function `setConfig()` allows to passing the new configuration object. Calling `render()` method is required for the new settings to be taken effect after changing the configuration.

tempGauge.setConfig({minValue : 20, maxValue : 50}).render('#gauge');

Expand Down

0 comments on commit 832ff99

Please sign in to comment.