enyojs/enyo — Issue #18: Chrome components in v2
Author: ryanjduffy
Created: 2012-01-28 02:09:54+00:00
State: open

Noticed that controls with chrome do not work the same in v2 as in v1. In v1, you used the special chrome member to declare those components. In v2, any components declared in a kind are treated as chrome if one of them is named "client" (or whatever controlParentName is).

The consequence of this is when you declare a kind (Kind A) that inherits from another kind (Kind B), any components declared in Kind A override those declared in Kind B rather than placed within Kind B's "client" control. I tried to illustrate this in a jsfiddle example. Hopefully the example is more clear than my explanation.

http://jsfiddle.net/8WgBY/4/