.collapse()
ad.collapse(callback)
ad.collapse(callback)Initiates the ad to collapse if in the expanded state
// Initiates the ad to expand if in collapsed state
ad.collapse(function() {
//Callback
});
Arguments
| Arugment | Value | Example Value | Description |
|---|---|---|---|
callback | function() { } | function() { stopVideo(); } | A function to execute at the time the ad is collapsed. |
Updated less than a minute ago
