安全上下文
此特征只可用于
安全上下文
(HTTPS),在某些或所有
支持浏览器
.
onshow
特性为
Notification
interface specifies an event listener to receive
show
events. These events occur when a
Notification
is displayed.
Notification.onshow = function() { ... };
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
onshow
|
Chrome Yes | Edge 14 | Firefox Yes | IE No | Opera Yes | Safari Yes | WebView Android No | Chrome Android Yes | Firefox Android Yes | Opera Android Yes | Safari iOS No | Samsung Internet Android Yes |
完整支持
不支持
Notification