This example uses the displayContactsColumns
option to add contact phone numbers to the widget.
To see the result, perform an import and observe the 3 column layout.
The phone number column may be largely empty unless your address book contacts phone numbers.
<script src="https://api.cloudsponge.com/widget/localhost-only.js"></script>
<script>
cloudsponge.init({
displayContactsColumns: ['phone'],
filter: function(contact) {
return contact.email.length || contact.phone.length;
}
})
</script>