.close()
ad.close(callback)
ad.close(callback)Hides the current component and depending on format will either collapse the creative or remove the ad from the page
ad.close(function() {
//Callback
});
Arguments
| Arugment | Value | Example Value | Description |
|---|---|---|---|
callback | function() { } | function() { stopVideo(); } | A function to execute at the time the ad is closed. |
Updated less than a minute ago
