DiviAreaItem.attach()

DiviAreaItem.attach()

This is an internal method that should not be used in third-party scripts.

Attach the current Area to the DOM tree (display it).

Inline Areas are attached to the inline-hook (see DiviAreaItem.findHook()), while other Areas are attached to the Areas container (see DiviAreaItem.setData() for attribute container).

After the Area was attached, a resize-observer is activated to monitor its size. Also, the Area is positioned on the screen.

Params

no Params

Returns

A reference to the current DiviAreaitem for chaining.

Notes

No notes

Was this article helpful?

Related Articles

Need Support?

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