adds a slider to the toolbar
id | string|number | id of a slider |
pos | number | position of a slider |
len | number | length (width) of a slider (px) |
valueMin | number | minimal available value of a slider |
valueMax | number | maximal available value of a slider |
valueNow | number | initial current value of a slider |
textMin | string | label for the minimal value side (on the left side) |
textMax | string | label for the maximal value side (on the right side) |
tip | string | tooltip template (%v will be replaced by the current value) |
myToolbar.addSlider(id, pos, len, valueMin, valueMax, valueNow, textMin, textMax, tip);
Back to top