使用Cordova时,如何在Windows Phone上为WideTile指定图像?
答案 0 :(得分:2)
不幸的是,目前不支持此选项[Wide Live Tile]。我将为WP8和WP7.8创建一个功能请求。很可能更新版本的LiveTiles插件将降落到以下位置
https://github.com/apache/incubator-cordova-wp8/tree/master/plugins/www/plugins/LiveTiles
<强>更新强>
可在此处找到更新版本
https://github.com/sgrebnov/incubator-cordova-wp8/tree/master/plugins/www/plugins/LiveTiles
样本用法
navigator.plugins.liveTiles.updateAppTile(success, fail, {
title: document.getElementById('title').value,
image: 'Images/appbar.next.rest.png',
count: document.getElementById('count').value,
backTitle: 'Back title',
backContent: 'Back side',
backImage: 'Images/appbar.close.rest.png',
smallImage: 'Images/appbar.save.rest.png',
wideContent: 'This is wide content',
wideImage: 'Images/appbar.stop.rest.png',
wideBackImage: 'Images/appbar.feature.video.rest.png'
});