Highlighted

Question about components

New Here ,
Jun 28, 2019

Copy link to clipboard

Copied

How to create a component dinamically in javascript?

Adobe Community Professional
Correct answer by kglad | Adobe Community Professional

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

TOPICS
Discussions

Views

121

Likes

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

Question about components

New Here ,
Jun 28, 2019

Copy link to clipboard

Copied

How to create a component dinamically in javascript?

Adobe Community Professional
Correct answer by kglad | Adobe Community Professional

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

TOPICS
Discussions

Views

122

Likes

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
Jun 28, 2019 0
Adobe Community Professional ,
Jun 29, 2019

Copy link to clipboard

Copied

i don't think you can do that.

Likes

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
Reply
Loading...
Jun 29, 2019 0
New Here ,
Jul 02, 2019

Copy link to clipboard

Copied

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 ?

Likes

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
Reply
Loading...
Jul 02, 2019 0
Adobe Community Professional ,
Jul 02, 2019

Copy link to clipboard

Copied

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

Likes

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
Reply
Loading...
Jul 02, 2019 1