Navigator.contacts
The contacts
read-only property of the
Navigator
interface returns a ContactsManager
interface
which allows users to select entries from their contact list and share limited details
of the selected entries with a website or application.
Syntax
var contactsManager = navigator.contacts;
Return Value
Examples
The following code checks whether the Contact Picker API is supported.
const supported = ('contacts' in navigator && 'ContactsManager' in window);
Specifications
Specification |
---|
Contact Picker API # dom-navigator-contacts |
Browser compatibility
BCD tables only load in the browser