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

Question about components

Community Beginner ,
Jun 28, 2019 Jun 28, 2019

How to create a component dinamically in javascript?

285
Translate
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

Community Expert , Jul 02, 2019 Jul 02, 2019

you can use removeChild() and addChild() (or the visible property) to dynamically control the 'appearance' of an existing component.

Translate
Community Expert ,
Jun 29, 2019 Jun 29, 2019

i don't think you can do that.

Translate
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
Community Beginner ,
Jul 02, 2019 Jul 02, 2019

I don't speak english very well... My problem is:

How to put a component in a layer dinamically and no only with: canvas.parentNode ?

Translate
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
Community Expert ,
Jul 02, 2019 Jul 02, 2019
LATEST

you can use removeChild() and addChild() (or the visible property) to dynamically control the 'appearance' of an existing component.

Translate
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