Hi Alex,
with your example I got it working now I have li items with custom content,
so great.
The problem now is that I lost data from data provider. I need to know how
to deal with binding, but I think better to close this thread and open
another
Thanks!
2016-12-09 8:52 GMT+01:00 Alex Harui :
On 12/8/16, 11:29 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
wrote:
>No Alex,
>
>the createElement only generates a tag (the container)
I was trying to ask if the js:Span's constructor and/or createElement get
called.
In an app I'm working on, the following is working for me:
No Alex,
the createElement only generates a tag (the container)
I want the custom renderer to add inside the custom things
(span,...icons,...img,...)
http://ns.adobe.com/mxml/2009";
xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:mdl="library://ns.apache
Is the Span's createElement getting called? I would recommend using the
debugger watch the Span get instantiated and added to the renderer.
HTH,
-Alex
On 12/8/16, 2:41 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
wrote:
>No, I'm saying that I put a in the custom item
>renderer and
No, I'm saying that I put a in the custom item
renderer and is ignored (not hello in html output )
I only get the generated from createElement in the ListItemRenderer.
So the problem is how to get the components declared in customitemrenderer
outputs in html inside the tag created in createele
On 12/8/16, 2:08 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
wrote:
>Hi Alex,
>
>I changed ListItemRenderer to extend MXMLItemRenderer, but nothing changed
>output is still:
>
>
>WidgetsThingysclass=" mdl-list__item">SprocketsDoohickies
>
>I don't have any issue with sizes and layo
Hi Alex,
I changed ListItemRenderer to extend MXMLItemRenderer, but nothing changed
output is still:
WidgetsThingysSprocketsDoohickies
I don't have any issue with sizes and layouts. My problem is that I want to
nest custom HTML things, for example a , and I don't get any output
but the current
See MXMLItemRenderer. You either want to have a default layout or assign
one. A parent sizes its children and if no layout is specified the
children do not get size. Check the DOM to make sure all of the elements
got created.
It could also be that the renderer itself doesn't have a good size.
Ok, I follow your indications and created a ListItemRenderer ni MDL swc,
this will be the basic IR and outputs LI with appropriate MDL class.
Now, I want this renderer to be able to be customized on user project
(MDLExample), so to test I did:
http://ns.adobe.com/mxml/2009";
xmln
On 12/5/16, 3:39 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
wrote:
>Hi Alex,
>
>to introduce the problem:
>
>I took a look and saw that your ListItemRenderer is in the application
>> project, not a library project, but it contains conditional compile
>>code.
>> I'm not sure we've
Links should be
[1] https://paste.apache.org/SQ8J
[2] https://paste.apache.org/isny
From: Yishay Weiss<mailto:yishayj...@hotmail.com>
Sent: Monday, December 5, 2016 2:38 PM
To: dev@flex.apache.org<mailto:dev@flex.apache.org>
Subject: RE: [FlexJS] Conditional compilation in u
In our project we started out with conditional compilation but we decided we
didn't really need it. I think part of the appeal of FlexJS is that it's
AS3/MXML only. If application devs start mixing it up with JS, their projects
will probably start suffer from typical JS project maladies.
Keepin
12 matches
Mail list logo