Was just looking at this SO question, and was wondering how it could be done with ember. Would I have to extend Ember.View and override the append hook?
Basically looking to make a “remote control” type of interface with two windows.
At the moment I try something like this (in didInsertElement):
Views depend on their associated DOM element being contained by the element associated with your Ember.Application instance. That would seem to make your goal of having views in multiple windows impossible.
If you really want two windows, then you’ll need two ember application instances running (one in each window).
Currently ember doesn’t really have out-of-box support the kinda of cross frame semantics you require. If someone wants to explore it further I’m sure interesting solutions will come up.
In theory, you could do many crazy things, but I wouldn’t be responsible if i suggested any of them.