Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4870

Is there any way to render a ember octane component from a string?

$
0
0

Consider that I am getting a component from a api response or a component passed via args.

Example

let myButton = "<CustomButton class='btn'>Clickme</CustomButton>";

(or)

<SomeComponent @anothercomponent={{<OtherComponent />}} />

How can i get the actual HTML of these component and render it ?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4870

Trending Articles