windows 10 adaptive toast xml schema wrapper.
var AdaptiveToast = require('adaptive-toast');
var builder = new AdaptiveToast();
builder
.addText('foo')
.addText('bar');
console.log(builder.build());
add text element.
add image element.
add audio element.
add action element.
add text input element.
add selection input element.
selection requires array of object. the object needs id
and content
property.
wrapper function of addImage(src, 'appLogoOverride')
.
build xml for current content.
- launch
- duration
- activationType
- scenario
- lang
- baseUri
- addImageQuery