DiviAreaItem.isPrepared()

DiviAreaItem.isPrepared( isReady )

Checks, whether an Area is fully initialized (or prepared). When this function returns true the Area was fully is stored in the browsers' memory.

This flag is only used in Divi Areas Pro for the page-load initialization logic, where an Area is considered "prepared" when the preparation time has passed (see filter "area_preparation_time") or the Area is displayed the first time.

In Popups for Divi, this function always returns true.

Params

isReady
(bool, optional) A flag that indicated, that an Area is prepared. The flag can only be true; an Area cannot be un-prepared again. When omitted (or set to false), the "prepared" state of the Area is not modified.

Returns

Returns true when the Area was fully initialized before calling this method.

Notes

No notes

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.