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 :
<div>some text </div>
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/components/index.html#layout-section/tabs

I found the same limitation.

inside Li there's just text... (text node)

we are limited in flexjs to output only nodes, we can't output the other
kind of elements in HTML: TextNodes.

I will need to be able in createElement to return and element of type
TextNode. I tried this but it gives error.

Could we have some modification to allow this?

I think this is a HTML only requerimiento (COMPILE::JS) since Flash will
not have this issue

Regarding about your comment of ids, I think the component could output
just text while the component could have it's id...right?

Anyway, I think this is a problem, since right now I don't have a way to
output just text in HTML and that's the basic of html...just text...




2016-11-25 9:36 GMT+01:00 Alex Harui <aha...@adobe.com>:

>
>
> On 11/25/16, 12:23 AM, "carlos.rov...@gmail.com on behalf of Carlos
> Rovira" <carlos.rov...@gmail.com on behalf of
> carlos.rov...@codeoscopic.com> 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 surrounding it
>
> I guess I don't understand.  Below you show it wrapped in a div.  I
> haven't looked at your Div component, but if it has an "html" property,
> then it should work as I think you want it.  Or maybe that's the component
> you need to create.
>
> Remember that so far, the focus of FlexJS has been on dynamic applications
> not on web documents, so we expected that most components may need Ids and
> are addressable at runtime.  If you want to build out components for
> static web documents, feel free to do so.
>
> I'm way over time for tonight, and it is a holiday in the US on Friday.
>
> -Alex
> >>
> >> On 11/24/16, 1:20 PM, "carlos.rov...@gmail.com on behalf of Carlos
> >>Rovira"
> >> <carlos.rov...@gmail.com on behalf of carlosrov...@apache.org> wrote:
> >>
> >> >Hi,
> >> >
> >> >some code like this:
> >> >
> >> ><div>some text</div>
> >> >
>
>
>


-- 

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