You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow user to pass in a function(gauge, current, max) which returns the desired current and max such that current,max = self.updateHook(self, current, max) allows for adjustments to the gauge object itself, or the current or max values to use while templating and setting the gauge value.
Check for nil returns and use original current or max if value nothing returned.
The text was updated successfully, but these errors were encountered:
Allow user to pass in a
function(gauge, current, max)
which returns the desired current and max such thatcurrent,max = self.updateHook(self, current, max)
allows for adjustments to the gauge object itself, or the current or max values to use while templating and setting the gauge value.Check for nil returns and use original current or max if value nothing returned.
The text was updated successfully, but these errors were encountered: