flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [FlexJS] HTML headings h1 to h6
Date Thu, 03 Nov 2016 22:37:58 GMT

On 11/3/16, 3:26 PM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
<carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> 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"
>What do you think?

IMO, we should have six components that thinly wrap headers.  That way
your MXML will look more like HTML, and HTML as the content will have a
consistent look.

      <js:H1>Header 1</js:H1>
      <js:TextInput />
         <H3>Header 3</H3>
         This is some text


View raw message