flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: MXML Selectors
Date Sat, 21 Mar 2015 22:52:07 GMT
Seems like you could write such a thing with out breaking anything, so
feel feel to try it.

The FlexJS code base is probably going to need something like this


On 3/21/15, 10:16 AM, "zavr" <zavr.work@gmail.com> wrote:

>Hey, I just thought it would be really cool if I could use mxml selectors,
><s:VGroup id="rootGroup">
>  <s:HGroup verticalAlign="middle">
>    <s:Label text="Width:"/>
>    <s:TextInput width="50" />
>    <s:Label text="Height:"/>
>    <s:TextInput width="50" />
>    <s:Button label="Update" click="updateBtn_clickHandler(event)" />
>  </s:HGroup>
>  <s:Button label="Save as..."/>
>and then do something like rootGroup.find(".Hgroup > .Label") which
>/all/ instances of type Label, or
>like attribute selector, etc.
>You get the idea!
>View this message in context:
>Sent from the Apache Flex Development mailing list archive at Nabble.com.

View raw message