Behaviour of this.$ changed? Is it only ImageView?

edited November 2013 in Enyo 2.4
Hi,

I got this components in one of my kinds:
components: [
  {name: "imageView", kind: "ImageView", disableZoom: true,
    fit: true, ontap: "doorTapped",
      components: [
        { name: "textPin", kind: "enyo.ImageViewPin", highlightAnchorPoint: false, showing: false, anchor: { bottom: "30%", left: "10%"},
          components: [
            { style: "background:rgba(255,255,255,0.8);border:1px solid #888;margin:0px;padding:0px;width:250px",
              components: [
                { tag: "div", content: "Du hast einen Gutschein gefunden:\n", name: "voucherText"}
              ]}
            ]}
          ]}
],
It's not very pretty, but does, what I need.

Now I have some method in that kind that are modifying textPin and voucherText. In Enyo 2.1 and 2.2 I could access them via this.$.textPin and this.$.voucherText. Now I switched to Enyo 2.3-pre12 (too see if some other issues were resolved, which did work, kind of). Now both childs are not in this.$ anymore. They are now both inside of this.$.imageView.$. I investigated that using chorme...

This is a bit strange. Is this an intended change? This broke quite some code, for me... I could probably use some of the new functionality. But I couldn't find something in the release notes that this should be broken... or is this just for the imageView?

Comments

Sign In or Register to comment.