confirm

creates a confirm box

promise confirm(object config);
configobjectthe text of the confirm message
promisethe result of user interaction

Example

$$("ssheet").confirm({
    text:"There is no undo, are you sure?"
}).then(function(result){
        // when the user clicks OK, do something
    });

Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
If you have not checked yet, be sure to visit site of our main product Webix javascript dashboard framework and page of spreadsheet product.