@tookien wrote:
I want to add a component programatically and append that after a target element.
something like this:
let comp = SomeComponent.create({
item: item
});comp.insertAfter('#someExistingComponentId');
but this is not working.
Ember.$(comp.element).insertAfter('#someExistingComponentId');
neither is that
any ideas? thanks
Posts: 2
Participants: 2