On 1/13/17, 11:09 AM, "piotrz" <piotrzarzyck...@gmail.com> wrote:

>Hi Guys,
>
>In my opinion injecting Beads by some configuration will confuse people.
>As
>I understand such Bead which adding automation name will take same
>parameter
>with this name. 
>
>Once you have Beads in your view it's giving really nice and clean
>information, what actually is happening with component.

I think both Carlos and I are thinking of ejecting instead of injecting.
IOW, you would declare beads in MXML but compiler options would filter
those tags out of the output.  Sort of like conditional compilation.
Maybe like:

        <js:Button>
           <js:beads>
              <js:AutomationData automationName="foo" />

And then run with:

        mxmlc -ignore-tag=js:AutomationData

My 2 cents.  Other ideas welcome.
-Alex

Reply via email to