setValue

sets a new value for the component

void setValue(number value);

Parameters

valuenumbera new value for the button

Example

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

See also
Back to top