Examples

Display Addresses

This example uses the displayContactsColumns option to add each contact’s addresses to the widget.

To see the result, perform an import and observe the 3 column layout.

The addresses column may be largely empty unless your address book contains mailing addresses.


Add from Address Book

<script src="https://api.cloudsponge.com/widget/localhost-only.js"></script>
<script>
cloudsponge.init({
  include: ['mailing_address'],
  displayContactsColumns: ['mailing_address'],
  filter: function(contact) {
    return contact.email.length || contact.address.length;
  }
})
</script>