安全上下文
此特征只可用于
安全上下文
(HTTPS),在某些或所有
支持浏览器
.
PaymentRequestUpdateEvent
构造函数创建新
PaymentRequestUpdateEvent
object which enables a web page to update the details of a
PaymentRequest
in response to a user action. Actual updates are made by passing options to the
updateWith()
方法。
var paymentRequestUpdateEvent = new PaymentRequestUpdateEvent()
None.
新的
PaymentRequestUpdateEvent
对象。
支付请求 API
The definition of 'PaymentRequestUpdateEvent' in that specification.
| 规范 | 状态 | 注释 |
|---|---|---|
|
支付请求 API
The definition of 'PaymentRequestUpdateEvent()' in that specification. |
候选推荐 | 初始定义。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
PaymentRequestUpdateEvent()
构造函数
|
Chrome 61 | Edge ≤79 |
Firefox
56
注意事项
Disabled
|
IE 不支持 No | Opera 不支持 No | Safari ? | WebView Android 不支持 No | Chrome Android 56 |
Firefox Android
56
注意事项
Disabled
|
Opera Android 不支持 No | Safari iOS ? | Samsung Internet Android 6.0 |
完整支持
不支持
兼容性未知
见实现注意事项。
用户必须明确启用此特征。
PaymentRequestUpdateEvent
PaymentRequestUpdateEvent()