Documentation

setValue

sets a new value for the component

void setValue(number value);

Parameters

valuenumbera new value for the button

See also

Example

webix.ui({
    view:"counter",
    id:"counter1"
    label:"First age"
});
$$('counter1').setValue(30);
..
$$('counter1').getValue();// -> 30

Back to top