此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。

View in English Always switch to English

ContactAddress:city 属性

Limited availability

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

安全上下文: 此特性仅在一些支持的浏览器安全上下文(HTTPS)中可用。

实验性: 这是一项实验性技术
在将其用于生产之前,请仔细检查浏览器兼容性表格

ContactAddress 接口的只读属性 city 返回表示地址中的城市或城镇部分的字符串。

表示由 ContactAddress 对象描述的地址中的城市或城镇部分的字符串。

规范

Specification
Contact Picker API
# dom-contactaddress-city

浏览器兼容性