Eight.Message.toastWithHeaderAndImage

Displays a toast message with a one line bold header, two lines of text and an image. Returns a WinJS.Promise object like toast.

Example

Eight.Message.toastWithHeaderAndImage("Header in bold", "two more lines of fun.", "ms-appx:///images/smalllogo.png")
    .done(function onComplete(e) {
        // handle dismissed/activated
    },
    function onError(e) {
        // handle error
    });

Last edited Feb 3, 2013 at 4:24 PM by gotdibbs, version 2

Comments

No comments yet.