add(...)
Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.
add(val: ContactEntry): void;
Displays a dialog that allows the user to add a contact to their address book.
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
val | Entry | The contact entry to add. |
Example
Section titled “Example”Z.contacts.add({ firstName: "Zappar", lastName: "Support", emailAddress: "support@zappar.com", facebook: "ZapparApp", twitter: "@ZapparApp"});