DiviArea.Data.createArea(element, type, id)
Creates a new DiviAreaItem from a jQuery element and adds it to the internal collection of available Areas.
DiviArea.register() to create a new Area. This method should not be used in most cased
- (jQuery, required) The jQuery element which should be turned into a Divi Area.
- (string, required) Defines the Area type – possible values are
- (string, required) The area ID.
The newly created DiviAreaItem instance.