Re: [FlexJS] Simple text in HTML

2016-11-30 Thread Alex Harui
On 11/30/16, 2:34 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >two things: > >a) Why it should be a UIBase and not a Container or ContainerBase? A Container is meant to accept an arbitrary set of child components and doesn't by default have a text or html property. IMO, inl

Re: [FlexJS] Simple text in HTML

2016-11-30 Thread Carlos Rovira
two things: a) Why it should be a UIBase and not a Container or ContainerBase? b) I think a bead should right to do this so we could apply to whatever component (regarding a was not a problem) 2016-11-30 23:26 GMT+01:00 Alex Harui : > > > On 11/30/16, 2:14 PM, "carlos.rov...@gmail.com on behal

Re: [FlexJS] Simple text in HTML

2016-11-30 Thread Alex Harui
On 11/30/16, 2:14 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >> I'm trying to understand your scenario. Can you post some simple MXML >>of >> what you want to do? MXML is not HTML and I'm not sure it should be. >> Changing MXML might impact IDEs which I don't think we sho

Re: [FlexJS] Simple text in HTML

2016-11-30 Thread Carlos Rovira
> I'm trying to understand your scenario. Can you post some simple MXML of > what you want to do? MXML is not HTML and I'm not sure it should be. > Changing MXML might impact IDEs which I don't think we should do. > > I think I don't want to change MXML, I want just get one type of output that we

Re: [FlexJS] Simple text in HTML

2016-11-30 Thread Alex Harui
On 11/30/16, 9:51 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Alex, > >maybe talking about ul/li was bad. UL/LI is working. I think both are >containers, since LI could have direct text or other tags (span, button, >and so on...) >I use it in an example in MDLExample/Tab

Re: [FlexJS] Simple text in HTML

2016-11-30 Thread Carlos Rovira
Hi Alex, maybe talking about ul/li was bad. UL/LI is working. I think both are containers, since LI could have direct text or other tags (span, button, and so on...) I use it in an example in MDLExample/Tabs Hope you could revise the rest of the email about output the other kind of output that is

Re: [FlexJS] Simple text in HTML

2016-11-30 Thread Alex Harui
In my mind, UL/OL would be a container, but LI would not. It would be a UIBase that has a text/html property like Label. All child textNodes would be assigned to the html property. Is there some reason that wouldn't work? -Alex On 11/30/16, 3:41 AM, "carlos.rov...@gmail.com on behalf of Carlos

Re: [FlexJS] Simple text in HTML

2016-11-30 Thread Carlos Rovira
Hi Alex, retaking this where we left it. I added Ul and Li components. And as containers are ok. Now revisiting the Div component I did just to get : some text I think is not the way to go. There's already other ways in flexjs to get that. Today recreating the example here: https://getmdl.io/c

Re: [FlexJS] Simple text in HTML

2016-11-25 Thread Alex Harui
On 11/25/16, 12:23 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Alex, > >I did a Div component, but I refer to just output text not attached to a >container. >Could we return text node as element directly. I want to output just text >without a div or a or anything surroun

Re: [FlexJS] Simple text in HTML

2016-11-25 Thread Carlos Rovira
Hi Alex, I did a Div component, but I refer to just output text not attached to a container. Could we return text node as element directly. I want to output just text without a div or a or anything surrounding it 2016-11-25 7:17 GMT+01:00 Alex Harui : > I thought you were going to make a Div com

Re: [FlexJS] Simple text in HTML

2016-11-24 Thread Alex Harui
I thought you were going to make a Div component, just like "A" and others. A more Flex-friendly name might be InlineHTML or something like that. -Alex On 11/24/16, 1:20 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi, > >some code like this: > >some text > >in FlexJS is at