beforeValueChanged

Fires before the value changschanges, this event can be called.

Type: Function

Default: null

Parameters:

e: jQuery.Event object

arg

arg.oldValue: the gauge's old value.

arg.newValue: the value to be seted.

Code Example:

Supply a function as an option.

$("#gauge").wijgauge({

beforeValueChanged: function(e, arg){}

})

Bind to the event by type: wijgaugebeforevaluechanged

$("#gauge").bind("wijgaugebeforevaluechanged", function (e, arg) {});


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.