Rokt JavaScript API
Type aliases
OnCloseCallback
Ƭ OnCloseCallback: function
Function signature that can be used to register the placement close callback
param
PlacementCloseEvent provides the event data for the callback function
Type declaration:
▸ (placementCloseEvent
: PlacementCloseEvent): void
Parameters:
Name | Type |
---|---|
placementCloseEvent | PlacementCloseEvent |
OnFailureCallback
Ƭ OnFailureCallback: function
CallBack Description
param
FailureReason
Type declaration:
▸ (reason
: string): void
Parameters:
Name | Type |
---|---|
reason | string |