1. Home
  2. Docs
  3. Javascript API
  4. callback()

callback()

The Prompty.callback() function is triggered when a subscription is successfully created and stored within Prompty. It can be redefined with your own code to respond to that event. For example:


<script>
Prompty.callback = function(reserved) {
    // Do something here
}
</script>
Was this article helpful to you? Yes No

How can we help?