Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

dynamically adding a composite component to an existing html DOM?

2884779Nov 9 2016 — edited Nov 10 2016

Is there a way to dynamically add a composite component to an existing html DOM? For example, if i created a composite called "my-chart", can I do this:

$(document.createElement('my-chart')).appendTo('charts-region')

to add a new "my-chart" to my div element of "charts-region"?

I tried, but it didn't recognize as the composite component I created. It just added HTML of "<my-chart></my-chart>" without really recognizing it.

Jason

Comments
Post Details
Added on Nov 9 2016
4 comments
441 views