The problem I’m trying to solve is this:
Given the mockup below, suppose each row is an li
and reuses an item-element
component.
What’s the best way to architect this so that a component can append additional peer components of the same kind as well as allowing itself being removed from a template (or another component) that contains them? I’m using Ember-CLI (v0.2.2), Ember v1.11.1 and would like to stay with forward-compatible strategies (no ItemController
, ArrayController
, as few View
s as possible… etc).
Thanks.