var layout = new Layout();
var layout2 = new Layout2();
var apple = new Apple({ id: 'layout1_child' });
layout
.add(apple)
.render();
layout.remove(apple);
apple.setID('layout2_child');
layout.add(apple);
Is this viable? Perhaps a new apple should just be created with the correct id. I'm not sure there is much value in shifting views around. As long as the model is decoupled, it can be shared.
Use case:
Is this viable? Perhaps a new apple should just be created with the correct id. I'm not sure there is much value in shifting views around. As long as the model is decoupled, it can be shared.
Thoughts @matthew-andrews?