JS Actions

  1. Home
  2. Knowledge Base
  3. Codex
  4. JS API
  5. JS Actions

doAction( “click_overlay” )

Click on the background overlay detected
  • 0
  • 106

doAction( “focus_area” )

Fired after event handlers were attached to the Area
  • 0
  • 113

doAction( “show_overlay” )

Fired after the background overlay is displayed
  • 0
  • 116

doAction( “hide_area” )

The Area is visible or the intro-animation has started
  • 0
  • 117

doAction( “blur_area” )

Fired after event handlers were removed from the Area
  • 0
  • 120

doAction( “before_hide_area” )

Fires before an Area is displayed
  • 0
  • 121

doAction( “enabled_scrolling” )

Scrolling of the document was enabled again
  • 0
  • 123

doAction( “hide_overlay” )

Fired after the background overlay was hidden again
  • 0
  • 124

doAction( “disabled_scrolling” )

Scrolling of the document was disabled
  • 0
  • 131

doAction( “before_show_area” )

Fires before an Area is displayed
  • 0
  • 131

doAction( “exit_intent” )

This action is triggered when an exit-intent is detected
  • 0
  • 131

doAction( “close_area” )

Fired internally by the API to process a stoppable close-request
  • 0
  • 137

doAction( “init_overlay” )

Allows custom initialization of the background overlay.
  • 0
  • 141

doAction( “refresh_area” )

Fires after options were applied to the area DOM elements
  • -1
  • 146

doAction( “show_area” )

The Area is visible or the intro-animation has started
  • 0
  • 148

doAction( “area_wrap” )

Fires when the outer wrap of an area was set up
  • 0
  • 149

doAction( “ready” )

The JS API is fully initialized and all Areas were registered
  • 0
  • 158

doAction( “load” )

Fires after the API was fully loaded, but before it is initialized
  • 0
  • 185

doAction( “init_area” )

Fired right after an area was fully initialized and is ready to be displayed.
  • 0
  • 186

doAction( “area_close_button” )

Allows customization of the default close button
  • 0
  • 200