Eight.Message.showMessageAsync

Shows a MessageDialog with the specified title, message and buttons. Behaves the same way as the above dialogs. Callback function receives the label of the button that is invoked by the user.

Example

Eight.Message.showMessageAsync("What's your selection", "A, B or C?", ["A", "B", "C"], function (selection) {
    if (selection === "A") {
        console.log("You chose right!");
    }
});

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

Comments

No comments yet.