PaymentRequestUpdateEvent: PaymentRequestUpdateEvent() コンストラクター

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

安全なコンテキスト用: この機能は一部またはすべての対応しているブラウザーにおいて、安全なコンテキスト (HTTPS) でのみ利用できます。

PaymentRequestUpdateEvent() コンストラクターは新しい PaymentRequestUpdateEvent オブジェクトを作成します。このオブジェクトによりウェブページはユーザー操作に反応して PaymentRequest の詳細を更新することができます。実際の更新は updateWith() メソッドにオプションを渡すことで行われます。

構文

js
new PaymentRequestUpdateEvent()

引数

なし。

返値

新しい PaymentRequestUpdateEvent です。

仕様書

Specification
Payment Request API
# constructor-0

ブラウザーの互換性

BCD tables only load in the browser