Type: boolean
Set this value to be true if you want to display the button on the ‘Choose Your Contacts’ screen when there are no contacts selected.
After a user has selected one or more contacts in the list, the contact picker will show a button for them to share their contacts with your app. If you prefer to have the button displayed in a disabled state on your contact picker when 0 contacts are selected, you can use this option to make it so.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<!-- | |
Include the script anywhere on your page, usually in the head | |
(don't forget to replace `localhost-only` with your own CloudSponge Widget Key) | |
--> | |
<script src="//api.cloudsponge.com/widget/localhost-only.js"></script> | |
<script> | |
cloudsponge.init({ | |
// set the option to be true to always render the CTA | |
alwaysShowCTA: true | |
}); | |
</script> | |
</head> | |
<body> | |
<a class="cloudsponge-launch">Add From Address Book</a><br /> | |
<textarea class="cloudsponge-contacts"></textarea> | |
</body> | |
</html> |