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