Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4828

Inheritable component layout frame?

$
0
0

@shull wrote:

I want to build an abstract component which other components inherit from. I want that abstract component to provide a layout frame for the children components to render within. I thought I could accomplish this with layout and named templates but it seems like these constructs are inverted.

That is, I thought I’d be able to do layout: componentFrame in the abstract parent component and then have all the children components render with their own named templates.

Here’s a twiddle where I tried to accomplish this but was unable to.

Am I missing something or is this basically impossible?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles