Last active
December 4, 2018 17:59
-
-
Save dangerouse/2051002 to your computer and use it in GitHub Desktop.
CloudSponge Widget Reference - Specify Contact Sources
This file contains 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 CloudSponge key) | |
--> | |
<script src="https://api.cloudsponge.com/widget/localhost-only.js"></script> | |
<script> | |
// extra widget options go here: | |
cloudsponge.init({ | |
// specify the sources to include in the sources page; | |
// This sample displays only the top 4 address books. | |
sources:['gmail', 'yahoo', 'windowslive', 'aol'] | |
}); | |
</script> | |
</head> | |
<body> | |
<a class="cloudsponge-launch">Add from Address Book</a> | |
<textarea class="cloudsponge-contacts"></textarea> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment