onValueChange event can be applied to Slider item only. This event calls user-defined handlers (if there are any) and passes the following parameters:
toolbar.attachEvent("onValueChange", function(id, value){});