1
好的,在我的Chrome扩展程序的清单中,我已经允许通知,现在我正在使用webkitNotifications,尽管我说丰富的通知并且更喜欢它们,所以我出去了并想通了如何写他们需要哪些参数,所以我在控制台中测试,但它没有显示出来?Chrome Rich Notifications not showing
chrome.notifications.create('report',{
type:'basic',
title:'hello world',
message:'Dance with me please',
expandedMessage:'Hello thanks for using our app',
priority:1,
buttons:[{title:'Follow URL'},{title:'Remind me Later'}],
isClickable:true
},function(){});
但我不知道这是否是我所需要的webkitNotifications
需要一个show()
功能实际上使其显示。任何想法家伙?