MDN self-hosted library · e01.org

Navigator: contacts property

Contact Picker API

Open notebook · 1 cells web-api-instance-property upstream source

Contact Picker API

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.

Value

A ContactsManager object. Two successive calls return the same object.

Examples

The following code checks whether the Contact Picker API is supported.

const supported = "contacts" in navigator && "ContactsManager" in window;

Specifications

Browser compatibility

See also