delays the code execution for the specified number of milliseconds
| code |
| number | the timeout id (can be used by the clearTimeout() method ) |
webix.delay(function(){
do_something();
});
//or
webix.delay(function(a, b){
//a == 1
//b == "abc"
//this == dtable
do_something();
}, dtable, [1, "abc"], 100);
Back to top