DiviArea.Data.createArea(element, type, id)

Creates a new DiviAreaItem from a jQuery element and adds it to the internal collection of available Areas.

Please use DiviArea.register() to create a new Area. This method should not be used in most cased


element jQuery, required
The jQuery element which should be turned into a Divi Area.
type string, required
Defines the Area type – possible values are popup, flyin, inline, hover.
id string, required
The area ID.


The newly created DiviAreaItem instance.


No notes

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Get in touch with us