JS Actions

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

doAction( “show_overlay” )

Fired after the background overlay is displayed
  • 0
  • 4

doAction( “refresh_area” )

Fires after options were applied to the area DOM elements
  • 0
  • 4

doAction( “enabled_scrolling” )

Scrolling of the document was enabled again
  • 0
  • 5

doAction( “init_overlay” )

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

doAction( “click_overlay” )

Click on the background overlay detected
  • 0
  • 6

doAction( “load” )

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

doAction( “ready” )

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

doAction( “area_close_button” )

Allows customization of the default close button
  • 0
  • 6

doAction( “focus_area” )

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

doAction( “blur_area” )

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

doAction( “disabled_scrolling” )

Scrolling of the document was disabled
  • 0
  • 6

doAction( “before_hide_area” )

Fires before an Area is displayed
  • 0
  • 7

doAction( “area_wrap” )

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

doAction( “position_area” )

Action to modify the Area position on the screen.
  • 0
  • 7

doAction( “resize_area” )

Fired before the Area position is changed.
  • 0
  • 7

doAction( “exit_intent” )

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

doAction( “close_area” )

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

doAction( “hide_overlay” )

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

doAction( “init_area” )

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

doAction( “show_area” )

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

doAction( “hide_area” )

Fires, once a previously visible Area is hidden again.
  • 0
  • 8

doAction( “before_show_area” )

Fires before an Area is displayed
  • 0
  • 9

doAction( “before_hide_area” )

Fires before an Area is displayed
  • 0
  • 252

doAction( “focus_area” )

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

doAction( “click_overlay” )

Click on the background overlay detected
  • 0
  • 254

doAction( “show_overlay” )

Fired after the background overlay is displayed
  • 0
  • 260

doAction( “blur_area” )

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

doAction( “before_show_area” )

Fires before an Area is displayed
  • -1
  • 264

doAction( “hide_overlay” )

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

doAction( “hide_area” )

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

doAction( “enabled_scrolling” )

Scrolling of the document was enabled again
  • 0
  • 278

doAction( “disabled_scrolling” )

Scrolling of the document was disabled
  • 0
  • 292

doAction( “close_area” )

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

doAction( “show_area” )

The Area is visible or the intro-animation has started
  • -1
  • 314

doAction( “exit_intent” )

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

doAction( “init_overlay” )

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

doAction( “area_wrap” )

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

doAction( “refresh_area” )

Fires after options were applied to the area DOM elements
  • 0
  • 367

doAction( “ready” )

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

doAction( “init_area” )

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

doAction( “load” )

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

doAction( “area_close_button” )

Allows customization of the default close button
  • 0
  • 437