Divi Areas Pro

doAction( “ready” )

The JS API is fully initialized and all Areas were registered

DiviArea.Utils.getLocalData()

Retrieve previously stored information from localStorage or a Cookie. Params Returns A string with the previously saved value, or false...

DiviAreaItem.setVisible()

Mark the area as visible or not-visible.

DiviArea.Data.addVisibleArea()

Add a single Area to the end of the "visible Areas" list.

DiviArea.register()

Creates a new Divi Area from an arbitrary HTML element on the page

DiviArea.Debug.debug()

Output debug info in the JS console, when JS debugging is enabled

doAction( “hide_area” )

Fires, once a previously visible Area is hidden again.

doAction( “init_overlay” )

Allows custom initialization of the background overlay.

doAction( “refresh_area” )

Fires after options were applied to the area DOM elements

DiviArea.Core.activateContainer()

Scan the context for Area triggers and attach event listeners to them.