ContactAddress: addressLine 屬性
ContactAddress 介面的只讀屬性 addressLine 是一個字串陣列,每個字串都指定了 ContactAddress 其他屬性未涵蓋的地址行。該陣列可以包含街道名稱、門牌號、公寓號、鄉村郵政路線、說明性指示或郵政信箱。
值
一個字串陣列,每個字串包含地址的一行。例如,倫敦的 Mozilla Space 的 addressLine 屬性將包含以下條目:
| 索引 | addressLine[] 值 |
|---|---|
| 0 | Metal Box Factory |
| 1 | Suite 441, 4th floor |
| 2 | 30 Great Guildford Street |
這些資訊與 ContactAddress 其他屬性的其他值結合起來,將構成完整的地址,即:
Mozilla Metal Box Factory Suite 441, 4th floor 30 Great Guildford Street London SE1 0HS United Kingdom
規範
| 規範 |
|---|
| 聯絡人選擇器 API # dom-contactaddress-addressline |
瀏覽器相容性
載入中…