Javascript 更改tideSDK通知样式

Javascript 更改tideSDK通知样式,javascript,html,css,notifications,tidesdk,Javascript,Html,Css,Notifications,Tidesdk,我正在使用tidesk为我的webapp制作桌面通知。我能够使用通知API并能够生成通知,但是否有任何方式可以设置这些通知的样式。我想更改通知css,根据我的喜好稍微调整一下样式。有没有办法做到这一点 谢谢 我并没有太多的代码,这些都是非常基本的东西,但还是在这里 var window1 = Ti.UI.currentWindow; window1.hide(); window1.setTitle('Application Name'); function showNotify(title,

我正在使用tidesk为我的webapp制作桌面通知。我能够使用通知API并能够生成通知,但是否有任何方式可以设置这些通知的样式。我想更改通知css,根据我的喜好稍微调整一下样式。有没有办法做到这一点

谢谢

我并没有太多的代码,这些都是非常基本的东西,但还是在这里

var window1 = Ti.UI.currentWindow;
window1.hide();
window1.setTitle('Application Name');


function showNotify(title, message) {
  var notification = Ti.Notification.createNotification({
    'title': title || 'No Title',
    'message': message || 'No Message',
    'timeout': 15
  });
  notification.setIcon("logo_white_33.png");
  notification.show();
}

function addTrayIcon(){
 tray = Ti.UI.addTray("recycle_bin.png", function(e){
     if (!window1.isVisible())
     {
       window1.show();
     }
 });
}
showNotify("New Reminder", "Reminder for <user> at <time>");
addTrayIcon();
var window1=Ti.UI.currentWindow;
window1.hide();
window1.setTitle(“应用程序名”);
功能showNotify(标题、消息){
var notification=Ti.notification.createNotification({
“标题”:标题| |“无标题”,
“消息”:消息| |“无消息”,
“超时”:15
});
通知.setIcon(“logo_white_33.png”);
notification.show();
}
函数addTrayIcon(){
tray=Ti.UI.addTray(“recycle_bin.png”,函数(e){
如果(!window1.isVisible())
{
window1.show();
}
});
}
showNotify(“新提醒”、“at提醒”);
addTrayIcon();

请添加一些代码。在查看API并在网络上搜索了很长时间后,我得出结论,不可能为通知设置样式。因此,我决定继续使用子窗口概念创建我自己的通知……是的,这将是一项更长的任务。