Shortcut for showing confirm (window.confirm) style messages to the user. As with alertAsync this method handles queuing of confirms so that you don't have to worry about errors if you try to present a confirmation while an alert is currently open or the other way around. Note that confirm and alert use the same message queue.


Eight.Message.confirmAsync("Are you sure?", function (isSure) {
    if (isSure) {
        console.log("You're sure.");
    else {
        console.log("You're not so sure.");

Last edited Jan 25, 2013 at 1:49 AM by gotdibbs, version 1


No comments yet.