Re: [FlexJS] HTML headings h1 to h6

2016-11-04 Thread Alex Harui
I don't see any problem with having more of these direct wrappers of HTMLElements. Container is supposed to be Div and Label is supposed to be Span, but the APIs are slightly different. The goal there was to have more Flex-like names for things. Label supports "text" and "html" properties. If y

Re: [FlexJS] HTML headings h1 to h6

2016-11-04 Thread Carlos Rovira
Alex, finaly created as well Span and Div classes, and with this I could manage some MDL issues. I committed separately to be able to remove if this is not what we need. 2016-11-04 17:18 GMT+01:00 Carlos Rovira : > Hi Alex, > > I created H1 to H6 and A (Anchor) in develop html library. > Should w

Re: [FlexJS] HTML headings h1 to h6

2016-11-04 Thread Carlos Rovira
Hi Alex, I created H1 to H6 and A (Anchor) in develop html library. Should we have as well a DIV, SPAN, UL... components? seems reasonable when we don't want a flexjs Container or List, right? I think we would need as well to have a component to set text in innerHTML inside a DIV, SPAN or other...

Re: [FlexJS] HTML headings h1 to h6

2016-11-03 Thread Alex Harui
On 11/3/16, 3:26 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >I was wondering what to do with text heading (h1 to h6) >do we have some component for this? If not, should we have a "Heading" >component? >What do you think? IMO, we should have six components that thinly wrap

[FlexJS] HTML headings h1 to h6

2016-11-03 Thread Carlos Rovira
I was wondering what to do with text heading (h1 to h6) do we have some component for this? If not, should we have a "Heading" component? What do you think? -- Carlos Rovira http://about.me/carlosrovira