ef4 / ember-elsewhere

Render elsewhere in the DOM, with nice composition, animation, etc. Based on 100% public API.
MIT License
184 stars 25 forks source link

Portal from one component to another #23

Closed adambedford closed 6 years ago

adambedford commented 6 years ago

Is it possible to portal content from one component to another? I'm not seeing the content show up in the from-elsewhere placeholder

adambedford commented 6 years ago

Figured this out. The issue was a typo in my implementation. The {{from-elsewhere}} component takes an attribute name, however the {{to-elsewhere}} component take an attribute named (I was missing the trailing "d")

ef4 commented 6 years ago

Sorry. You're not the only one. The parameters are empirically bug magnets.

I just pushed fef99e9759e06fa868c41e612d849a4c75d4a168 to hopefully save the next person's debugging time.