add(...)

add(val: ContactEntry): void;

Displays a dialog that allows the user to add a contact to their address book.

Parameters

Parameter Type Description
val Entry The contact entry to add.

Example

Z.contacts.add({
    firstName: "Zappar",
    lastName: "Support",
    emailAddress: "support@zappar.com",
    facebook: "ZapparApp",
    twitter: "@ZapparApp"
});
zapcode branded_zapcode i