ContactAddress: phone property
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The read-only phone
property of the ContactAddress
interface returns a string containing the telephone number of the recipient or contact person at the address.
Value
A string containing the telephone number for the recipient of the shipment. If no phone number is available, this value is an empty string.
Specifications
Specification |
---|
Contact Picker API # dom-contactaddress-phone |
Browser compatibility
BCD tables only load in the browser