city
只读特性在
PaymentAddress
interface returns a string containing the city or town portion of the address.
var paymentCity = PaymentAddress.city;
A
DOMString
indicating the city or town portion of the address described by the
PaymentAddress
对象。
| 规范 | 状态 | 注释 |
|---|---|---|
|
支付请求 API
The definition of 'PaymentAddress.city' in that specification. |
候选推荐 | 初始定义。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
city
|
Chrome
61
Disabled
|
Edge 15 |
Firefox
56
注意事项
Disabled
|
IE 不支持 No | Opera 不支持 No | Safari Yes | WebView Android 不支持 No |
Chrome Android
53
Disabled
|
Firefox Android
56
注意事项
Disabled
|
Opera Android 不支持 No | Safari iOS Yes | Samsung Internet Android 不支持 No |
完整支持
不支持
见实现注意事项。
用户必须明确启用此特征。
PaymentAddress