JS Functions

DiviArea.applyFilters()

Applies all previously registered filter hooks and returns the filtered value. Params Returns Returns the filtered value. Notes No notes

DiviArea.Hooks.applyFilters()

This is an alias of DiviArea.applyFilters().

DiviArea.Debug.table()

Display debug information in the JS console

DiviArea.Core.closeMainMenu()

Closes Divi´s Full-Page or Slide-In menu.

DiviArea.Core.getContext()

Returns the base context where Divi Areas are inserted.

DiviArea.Data.getRealId()

Returns a sanitized area ID or false, when the ID does not belong to an Area.

DiviArea.Hooks.removeFilter()

This is an alias of DiviArea.removeFilter().

DiviArea.Hooks.addActionOnce()

This is an alias of DiviArea.addActionOnce().

DiviArea.Utils.getCssSpecificity()

Calculates the CSS Specificity of a given selector.

DiviArea.Debug.verbose()

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