DHTMLX Docs & Samples Explorer

onValueChange

onValueChange event can be applied to Slider item only. This event calls user-defined handlers (if there are any) and passes the following parameters:

  • id - id of the item;
  • value - new value of the item.
    toolbar.attachEvent("onStateChange", function(id, value){});