• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

dom_overlay_container - for what?

Explorer ,
Jun 12, 2017 Jun 12, 2017

Copy link to clipboard

Copied

I try ti figure out the purpose of the

dom_overlay_container and animation_container
Can I
delete them in the html structure?
Or are they linked with any necessary JS Code?

Views

1.9K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Jun 12, 2017 Jun 12, 2017

?

I found out that components are children of this layer - above the canvas.
The "dom_overlay_container" ID is implemented as target in the code snippets for components behaviour.
So in most cases, the dom_overlay_container is empty and without function.

Votes

Translate

Translate
LEGEND ,
Jun 12, 2017 Jun 12, 2017

Copy link to clipboard

Copied

They wouldn't be there if they didn't need to be there. Leave them alone, stop trying to break things.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 12, 2017 Jun 12, 2017

Copy link to clipboard

Copied

?

I found out that components are children of this layer - above the canvas.
The "dom_overlay_container" ID is implemented as target in the code snippets for components behaviour.
So in most cases, the dom_overlay_container is empty and without function.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 12, 2017 Jun 12, 2017

Copy link to clipboard

Copied

Yes, and it imposes an utterly insignificant storage overhead, so don't worry about it.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 13, 2017 Nov 13, 2017

Copy link to clipboard

Copied

But it breaks my responsive design as it has fixed dimensions. So better remove it anyway.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Nov 14, 2017 Nov 14, 2017

Copy link to clipboard

Copied

LATEST

You can use it for DOM animation, e.g.

Just paste this code in actions panel:

var div = document.getElementById('dom_overlay_container');

div.innerHTML += 'My Animated Text';

... and it is responsive just like the canvas.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines