This project is read-only.


Displays a Toast Notification. What is displayed depends on the type of toast template you pass in. Also required is the scheduledTime parameter. The remaining options are optional for scheduling snooze intervals. Returns a WinJS.Promise object where complete is immediately invoked after the toast is scheduled and not when it is displayed.


// ... get the toast template and process its nodes to insert the appropriate values ...

Eight.Message.toastXml(templateXml, scheduledDateTime, 60, 5)
    .done(function onComplete(e) {
        // ... handle toast completed ...
    function onError(e) {
        // ... handle toast errored ...

Last edited Feb 10, 2013 at 3:35 AM by gotdibbs, version 1


No comments yet.