0
누구나 버튼이있는 Chrome 알림 구문을 제공 할 수 있습니까? chrome.Can의 알림 상자에 버튼을 추가하는 구문에 대해 확실하지 않은 사람이 있습니까? 알림을위한 제 코드입니다. 알림이 reason.Why 내 버튼이 표시되지 않습니다 생각하시기 바랍니다 shown.Anygone하지 않는 버튼을 shown.But되어이 코드를 사용하여알림 상자에 알림 동작 버튼이 표시되지 않습니다.
chrome.notifications.create(
'id1',{
type: 'basic',
iconUrl: '/icon_128.png',
title: 'Althe Frazon',
message: 'Lorem ipsum',
buttons: [{ title: 'Call'
},
{ title: 'Send Email'
}],
priority: 0
},
function() { /* Error checking goes here */}
);
notification.show();
?? 사람이 페이지에 착륙 나에게
** ['chrome.notifications.create'] (http://developer.chrome.com/extensions/notifications.html#method-create) ** _creates 및 표시 _ 때문에 알림이 필요하지 않습니다. notification.show()'. (어쨌든 그 의미는 무엇입니까?) – gkalpak
알려진 문제로 보입니다 : [chrome.notifications.create가 버튼을 표시하지 않습니다.] (https://code.google.com/p/chromium/issues/detail?id= 310799) – Marc
@ user1991 : 흠 ... OS 의존적 인 문제인 것 같습니다. 어떤 OS를 사용하고 있습니까? – gkalpak