Eight.Message.toastTextWithImage

Shows a toast message with three lines of text passed and an image. Returns a WinJS.Promise object like toast. Uses the template toastImageAndText01.

Example

Eight.Message.toastTextWithImage("hello!", "ms-appx:///images/smalllogo.png")
    .done(function onComplete(e) {
        // handle dismissed/activated
    },
    function onError(e) {
        // handle error
    });

Last edited Feb 3, 2013 at 3:23 PM by gotdibbs, version 3

Comments

No comments yet.