Sounds good to me. I will look into the mxmlID property at some point
that won't be reflected into the element.
-Alex
On 11/16/16, 11:29 AM, "carlos.rov...@gmail.com on behalf of Carlos
Rovira" wrote:
>Hi Alex,
>
>I introduced in HTML UIBase.as set id method this:
>
>
>COMPILE::JS
Hi Alex,
I introduced in HTML UIBase.as set id method this:
COMPILE::JS
{
element.id = _id;
}
so for HTML elements if we set the id in mxml we'll get the same in HTML.
I think this works ok, unless you think is not the best way to handle it
l
On 11/15/16, 3:27 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
wrote:
>Hi I check Harb's link and seems nothing was decided. I think this is
>important since all devs will need to deal with ids at some time.
>
>I was trying some hacking like to use setAttribute on element to set id
Hi I check Harb's link and seems nothing was decided. I think this is
important since all devs will need to deal with ids at some time.
I was trying some hacking like to use setAttribute on element to set id
without luck, so I suppose I would need some compiler support.
Should I make a Jira ticke
We recently had a discussion on the topic:
https://lists.apache.org/thread.html/15ab40496bb1d2b9c69a670bdc82deaa3efb9a9c157cfdb6dcfd2b1a@%3Cdev.flex.apache.org%3E
On Nov 7, 2016, at 7:44 AM, Alex Harui wrote:
>
>
> On 11/6/16, 3:57 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
> wr
On 11/6/16, 3:57 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
wrote:
>Hi
>
>I need to set and id in a HTML:
>
>
>
>
>in flexjs I have
>but as normal id is not propagated to the js side.
I think that's a bug. The id should be passed to the element. I was
surprised that it isn't.
Hi
I need to set and id in a HTML:
in flexjs I have
but as normal id is not propagated to the js side.
I need this to connect to MDL objects (a button and a menu, the button
opens the menu based on the id of the button. the menu is an ul with a
special mdl attribute sets to the button id)
Y