JS Functions

DiviArea.Hooks.applyFilters()

This is an alias of DiviArea.applyFilters().

DiviArea.applyFilters()

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

DiviArea.Debug.table()

Display debug information in the JS console

DiviArea.Core.getContext()

Returns the base context where Divi Areas are inserted.

DiviArea.Core.closeMainMenu()

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

DiviArea.Hooks.removeFilter()

This is an alias of DiviArea.removeFilter().

DiviArea.Data.getRealId()

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

DiviArea.Hooks.addActionOnce()

This is an alias of DiviArea.addActionOnce().

DiviArea.Utils.getCssSpecificity()

Calculates the CSS Specificity of a given selector.

DiviArea.Debug.error()

Display an error in the JS console