yapplabs / ember-wormhole

Render a child view somewhere else in the DOM.
MIT License
284 stars 68 forks source link

Wormhole from one component to another #103

Closed adambedford closed 6 years ago

adambedford commented 6 years ago

Is it possible to wormhole from one component to another? I'm getting the "missing DOM element" error in the console and the wormholed content is rendering in place

lukemelia commented 6 years ago

The component with the destination DOM would need to be rendered at the time the source component is attempting to wormhole into it. It sounds like perhaps it isn't in your case. You may find that ember-elsewhere is a better fit for sending a component reference from one spot to another component.

adambedford commented 6 years ago

Thanks @lukemelia for the suggestion to use ember-elsewhere, it is working out perfectly!