JS Functions

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

DiviArea.Data.addVisibleArea()

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

DiviArea.Hooks.addFilter()

This is an alias of DiviArea.addFilter().
  • 0
  • 46

DiviArea.Utils.getStyleDef()

Returns the defined CSS value for the given property of an element.
  • 0
  • 47

DiviArea.Utils.getCssSpecificity()

Calculates the CSS Specificity of a given selector.
  • 0
  • 47

DiviArea.Core.blurArea()

Remove the focus-state from an area and deactivated that area again.
  • 0
  • 47

DiviArea.removeAction()

Removes a previously registered action hook.
  • 0
  • 47

DiviAreaItem.getWrap()

Returns the jQuery element of the Area wrapper
  • 0
  • 47

DiviArea.Core.isArea()

Tests, whether the given val is an Divi Area element
  • 0
  • 47

DiviAreaItem.detach()

Detach the current Area from the DOM tree (hide it)
  • 0
  • 47

DiviArea.Data.getRealId()

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

DiviArea.Utils.getWindow()

Gets the parent window that contains the specified element. Params Returns The window object which contains the element. Notes No...
  • 0
  • 47

DiviAreaItem.addActionOnce()

Same as addAction, but the callback is only called once and then is unhooked again
  • 0
  • 47

DiviAreaItem.theType()

Returns the Area-type
  • 0
  • 48

DiviArea.getArea()

Returns the area that is associated with the ID. Params Returns Returns a DiviAreaItem object for the requested Area. When...
  • 0
  • 48

DiviArea.Data.loopAllAreas()

Invoke a callback on all Areas of a given type
  • 0
  • 48

DiviArea.Hooks.applyFilters()

This is an alias of DiviArea.applyFilters().
  • 0
  • 48

DiviArea.Hooks.doAction()

This is an alias of DiviArea.doAction().
  • 0
  • 48

DiviArea.Data.removeVisibleArea()

Remove a single entry from the "visible Areas" list.
  • 0
  • 48

DiviAreaItem.applyFilters()

Runs a JS filter via DiviArea.applyFilters() with the given hook name. This function will call two filters: One exactly as...
  • 0
  • 48

DiviArea.Debug.error()

Display an error in the JS console
  • 0
  • 48

DiviArea.Core.closeMainMenu()

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

DiviArea.Data.getVisibleArea()

Returns either the top-most visible Area, or the Area with the given ID.
  • 0
  • 48

DiviAreaItem.addFilter()

Register a new hook that only handles filters of this Area
  • 0
  • 48

DiviArea.Core.activateContainer()

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

DiviArea.Debug.sysInfo()

Display details about the current system
  • 0
  • 48

DiviAreaItem.addAction()

Register a new hook that only listens to actions of this Area
  • 0
  • 48

DiviAreaItem.setPosition()

Recalculate the Area position on the viewport.
  • 0
  • 48

DiviArea.Data.configArea()

This method is deprecated and should not be used anymore. Params Returns The function does not return anything. Notes No...
  • 0
  • 48

DiviArea.Utils.getOption()

Fetches the value of a DiviAreaConfig option. Params Returns The option value Notes No notes
  • 0
  • 48

DiviArea.Utils.getClientRect()

Returns a rect for the first element in the jQuery object. Params Returns An object with details about the client...
  • 0
  • 48

DiviArea.Data.getArea()

This is an alias of DiviArea.getArea().
  • 0
  • 48

DiviArea.UI.initializeAreaAnimation()

Initialize/configure animation details of the Divi Area
  • 0
  • 48

DiviAreaItem.isType()

Tests, whether the matches the expected type string.
  • 0
  • 49

DiviArea.Utils.showOnViewport()

Checks the viewport configuration of the Area agains the current viewport. Only the window-width is tested to determine whether the...
  • 0
  • 49

DiviArea.Data.getAllIds()

Returns a list of available Area-IDs
  • 0
  • 49

DiviArea.Core.disableBodyScroll()

Disable scrolling of the body.
  • 0
  • 49

DiviArea.Core.reOrderAreas()

Sets the z-index of all Areas, including the modal overlay.
  • 0
  • 49

DiviAreaItem.findHook()

Finds and returns the hook-tag of this Area.
  • 0
  • 49

DiviArea.Hooks.addAction()

This is an alias of DiviArea.addAction().
  • 0
  • 49

DiviArea.Utils.getUrlParam()

Returns a single URL param valuewith the given name. If no paramName is given, returns the entire list of all...
  • 0
  • 49

DiviAreaItem.removeFilter()

Removes a previously registered filter hook.
  • 0
  • 49

DiviArea.Data.addAltId()

Define an alternate ID for a registered Area.
  • 0
  • 49

DiviArea.UI.animateArea()

Trigger the intro/outro animation of a specific Area
  • 0
  • 49

DiviArea.listAreas()

Returns an array of all area IDs (including eventual alternate IDs) that match the given filter. Params Returns Array of...
  • 0
  • 49

DiviArea.Core.attachArea()

Attach the given area to the DOM and add it to the list of visible Areas.
  • 0
  • 49

DiviArea.Utils.toBool()

Utility that tests, if a value equals to boolean true. See below for a list of values that are considered...
  • 0
  • 49

DiviAreaItem.isVisible()

Tests, if the Area is visible.
  • 0
  • 49

DiviArea.Utils.toMilliseconds()

Converts a CSS timing value into a millisecond value.
  • 0
  • 50

DiviArea.Debug.group()

Start or end a debug-group in the JS console
  • 0
  • 50

DiviArea.Hooks.removeFilter()

This is an alias of DiviArea.removeFilter().
  • 0
  • 50
Next Page »