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 you
want to use "innerHTML" that's fine, but the compiler might need to be
tweaked to support inline HMTL.

-Alex

On 11/4/16, 9:46 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
<carlos.rov...@gmail.com on behalf of carlos.rov...@codeoscopic.com> wrote:

>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 <carlos.rov...@codeoscopic.com>:
>
>> 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....or maybe make all this components extend
>>a
>> base component that has a "innerHTML" property.
>>
>> In order to finish my latest needs with html basic elements, I need what
>> we talk about in other thread about setting an background image style
>>for
>> this components (for example a DIV), ice, not using an Image.
>>
>> Let me know if you see this ok.
>>
>>
>>
>> 2016-11-03 23:37 GMT+01:00 Alex Harui <aha...@adobe.com>:
>>
>>>
>>>
>>> On 11/3/16, 3:26 PM, "carlos.rov...@gmail.com on behalf of Carlos
>>>Rovira"
>>> <carlos.rov...@gmail.com on behalf of carlosrov...@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"
>>> >component?
>>> >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:Application>
>>>   <js:initialView>
>>>     <js:View>
>>>       <js:H1>Header 1</js:H1>
>>>       <js:TextInput />
>>>       <js:MultilineLabel>
>>>          <H3>Header 3</H3>
>>>          This is some text
>>>       </js:MultlineLabel>
>>>
>>> -Alex
>>>
>>>
>>
>>
>> --
>>
>> Carlos Rovira
>> Director General
>> M: +34 607 22 60 05
>> http://www.codeoscopic.com
>> http://www.avant2.es
>>
>>
>> Este mensaje se dirige exclusivamente a su destinatario y puede contener
>> información privilegiada o confidencial. Si ha recibido este mensaje por
>> error, le rogamos que nos lo comunique inmediatamente por esta misma
>>vía y
>> proceda a su destrucción.
>>
>> De la vigente Ley Orgánica de Protección de Datos (15/1999), le
>> comunicamos que sus datos forman parte de un fichero cuyo responsable es
>> CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la
>> prestación del servicio o información solicitados, teniendo usted
>>derecho
>> de acceso, rectificación, cancelación y oposición de sus datos
>>dirigiéndose
>> a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la
>> documentación necesaria.
>>
>>
>
>
>-- 
>
>Carlos Rovira
>Director General
>M: +34 607 22 60 05
>http://www.codeoscopic.com
>http://www.avant2.es
>
>
>Este mensaje se dirige exclusivamente a su destinatario y puede contener
>información privilegiada o confidencial. Si ha recibido este mensaje por
>error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
>proceda a su destrucción.
>
>De la vigente Ley Orgánica de Protección de Datos (15/1999), le
>comunicamos
>que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
>S.A. La finalidad de dicho tratamiento es facilitar la prestación del
>servicio o información solicitados, teniendo usted derecho de acceso,
>rectificación, cancelación y oposición de sus datos dirigiéndose a
>nuestras
>oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
>necesaria.

Reply via email to