• Live Demo
  • Products
    • Contact Picker
    • Contacts API
    • Better Sharing Plugin for WordPress
    • Zapier Integration
  • Pricing
  • About
    • Team
    • Customers
    • Solutions
    • Industries
    • Examples
  • Blog
  • Sign In
  • Get Started

  • Getting Started
    • Developer Resources
    • Keys
    • Running a Local Server
  • Contact Picker
    • Basic Installation
    • Linking Options
      • Menu Links
      • Deep Links
    • Javascript API
      • cloudsponge.init
      • cloudsponge.launch
      • cloudsponge.showProgress
      • cloudsponge.showContacts
      • cloudsponge.end
    • Options
      • alwaysShowCTA
      • browserContactCacheMin
      • contactsDelimiter
      • contactsTemplate
      • css Branded
      • displayContactsColumns
      • displaySelectAllNone
      • filter
      • ignoreMultipleEmails
      • ignoreMultiplePhones
      • include
      • initiallySelectedContacts
      • inlineOauth
      • lazyLoad
      • locale Branded
      • localeData Branded
      • noTracking
      • oauthCredentials
      • onlyGroupedContacts
      • performEmailValidation
      • rootNodeSelector
      • selectAccount
      • selectionLimit
      • selectionLimitMessage
      • onSelectionLimitReached
      • skipContactsDisplay Branded
      • skipSourceMenu
      • sortBy
      • sources
      • theme Branded
      • userToken
      • zIndex
    • Javascript Callbacks
      • afterInit()
      • beforeLaunch()
      • afterLaunch()
      • beforeImport(source, importId)
      • beforeGathering(source)
      • afterImport(source, success)
      • beforeDisplayContacts(contacts, source, owner)
      • afterSubmitContacts(contacts, source, owner)
      • onSelectionLimitReached(selectedCount, message)
      • beforeClosing()
      • afterClosing()
    • Webhooks API
    • Data Structure
    • Code Samples
    • Generic CSV Format
  • Contacts API Custom
    • Step 1: Get Permissions
      • User Consent
      • Username & Password
    • Step 2: Wait for Import
    • Step 3: Download
    • API Libraries
  • OAuth
    • Do I Need OAuth?
    • Proxy URL
    • OAuth Credentials
      • Google
        • Add us to your Google OAuth
        • Google People API Migration
        • Google Domain Verification
        • Google Privacy Policy Requirements
        • Google Demo Video Requirements
      • Yahoo!
      • Microsoft
  • Better Sharing for WordPress
    • Installation
      • Add Better Sharing To Webpage
    • Get Started
    • Email Templates
    • UI Templates
    • Template Variables
    • Contact Picker
    • Integrations
      • AutomateWoo
        • Activate Better Sharing for AutomateWoo
        • Additional Settings
Documentation/Contact Picker/Javascript Callbacks

Javascript Callbacks

You may define any of the callback functions using cloudsponge.init

  • afterInit()
  • beforeLaunch()
  • afterLaunch()
  • beforeImport(source, importId)
  • beforeGathering(source)
  • afterImport(source, success)
  • beforeDisplayContacts(contacts, source, owner)
  • afterSubmitContacts(contacts, source, owner)
  • onSelectionLimitReached(selectedCount, message)
  • beforeClosing()
  • afterClosing()
  • Customers
    • Case Studies
    • Teardowns
    • Industries
    • Examples
  • Products
    • Contact Picker
    • Contacts API
    • Better Sharing
    • Integrations
    • OAuth Concierge
  • Resources
    • Help Center
    • Documentation
    • FAQ
    • Security
    • Changelog
    • Service Status
  • Company
    • About us
    • News
    • Partner Program
    • Contact Us
    • Write For Us

Copyright © 2010-2025 - Cloud Copy, Inc. All rights reserved.

  • Terms of Service
  • Privacy Policy
  • GDPR