只读
dependentLocality
特性为
PaymentAddress
interface is a string containing a sublocality designation within a city, such as a neighborhood, borough, district, or, in the United Kingdom, a dependent locality. Also known as a
post town
.
var paymentDependentLocality = PaymentAddress.dependentLocality;
A
DOMString
indicating the sublocality portion of the address. This may be an empty string if no sublocality is available or required. It's used to provide disambiguation when a city may include areas that duplicate street names
A sublocality is an area within a city, such as a neighborhood, borough, or district. In the United Kingdom, this is used to indicate the post town in the United Kingdom (known officially by the Royal Mail as the dependent locality ). This is a disambiguating feature of addresses in places where a city may have areas that duplicate street names.
| 规范 | 状态 | 注释 |
|---|---|---|
|
支付请求 API
The definition of 'PaymentAddress.dependentLocality' in that specification. |
候选推荐 | 初始定义。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
dependentLocality
|
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
addressLine
city
country
dependentLocality
organization
phone
postalCode
recipient
region
regionCode
sortingCode
toJSON()