Jump to Content
Cascade Ad Framework
GuidesDiscussions
v1.0.0

GuidesLog InGet CascadeCascade Ad Framework
Guides
GuidesLog InGet Cascade
v1.0.0GuidesDiscussions

HTML: Ad Elements

  • ad-video
  • ad-component
  • ad-close-button
  • ad-loading-icon

HTML: Ad Attributes

  • exit
  • closer
  • counter
  • expander
  • collapser
  • timer-start
  • timer-stop
  • timer-toggle
  • third-party-track
  • lazy-content

CSS: Layout Queries

  • @layout
  • @flowlane
  • @breakpoint

CSS: Context Queries

  • @time
  • @environment
  • @location
  • @user
  • @input
  • @device
  • @site
  • @ad
  • @component
  • @custom

Javascript: Methods

  • .count()
  • .startTimer()
  • .stopTimer()
  • .toggleTimer()
  • .expand()
  • .collapse()
  • .close()
  • .exit()
  • .thirdPartyTrack()
  • .get()
  • .on()
  • .once()

Javascript: Events

  • ready
  • fontsLoaded
  • imagesLoaded
  • stylesLoaded
  • contextsReady
  • siteLoaded
  • change
  • showStart
  • showEnd
  • hideStart
  • hideEnd
  • unload
  • exit
  • timerStart
  • thirdPartyTrack
  • timerStop
Powered by 

unload

Suggest Edits

unload

Event fires when the ad is removed from the page or the page is navigated away from.

ad.on("unload", function() {
  //run when the ad is removed from the page
});

Updated less than a minute ago


  • Table of Contents
    • unload