Hi Alex,
Many thanks for this solution. I have implemented it and it seems to be ok
right now. It's enough if I pickup one level up parent. Currently I used
that [1] function only in NavigationLayout component, but if I see that
some of the component will generate additional container after
Alex,
I had some session yesterday with that and I think I have found the reason.
It is connected with how MDL is working. Let's start from the initial code
This is how code looks like:
-> After translation ->
-> after
translation ->
In above case the parent of NavigationLayout should
An element without a royale_wrapper breaks the fundamental contract in UIBase.
I recommend that you figure that part out.
Good luck,
-Alex
On 5/1/18, 12:33 PM, "Piotr Zarzycki" wrote:
In the other words - My website is loaded and component have initial state.
In the other words - My website is loaded and component have initial state.
Than I'm clicking on the button I'm changing state for that component.
Piotr
On Tue, May 1, 2018, 7:27 PM Piotr Zarzycki
wrote:
> This component is already on the display list. I'm changing
This component is already on the display list. I'm changing States of that
component. That's the weirdest thing.
Piotr
On Tue, May 1, 2018, 7:06 PM Alex Harui wrote:
> Hi Piotr,
>
> What is the call stack at that point? Should the component be on the
> display list
Because setClassNames can be expensive, we only want to do it if we have to.
The component lifecycle is designed for setting lots of properties before
adding a component to its parent. There is a call to setClassNames in
addedToParent for that reason, so other calls to set the className
Hi Piotr,
For me, parent is not undefined when the new value of snippetBackground is
being applied. The first time I debugged through the code it looked like was
undefined, but when I stepped through the parent getter it returned a valid
result. I'm not sure if we can trust the value
I will look into it.
On 4/28/18, 2:08 PM, "Carlos Rovira" wrote:
Sorry but as I said I'm few days off so I can't look at it. Hope you can
see the root of the problem since I was planning to use states in jewel
example to do better organization of different
Sorry but as I said I'm few days off so I can't look at it. Hope you can
see the root of the problem since I was planning to use states in jewel
example to do better organization of different examples
El El sáb, 28 abr 2018 a las 9:58, Piotr Zarzycki
escribió:
>
Carlos,
Any thoughts ? Maybe it make sense that parent is undefined since view is
changing state - it's not added yet to the parent. We should sort it out,
because I don't see any weird in my case. I'm just changing className
dynamically. :)
Thanks, Piotr
2018-04-28 9:54 GMT+02:00 piotrz
DataBinding example is working fine, so it leads me to the className property
in UIBase. I have setup break point and it looks like because this.parent is
undefined className is not setup properly.
Look into the screenshot. You can also setup breakpoint yourself to see
results.
Try DataBindingExample. The checkbox should cause a TextArea to appear and
disappear.
-Alex
On 4/27/18, 1:08 PM, "Piotr Zarzycki" wrote:
Hi Guys,
I've been working on some update to my TranspiledActionScript website. I
have noticed that with
Hi Guys,
I've been working on some update to my TranspiledActionScript website. I
have noticed that with current version of Nightly builds states are not
working properly.
I uploaded copy of my website here [1].
If you switch view from "Examples" to "Snippets" you should see that
background is
13 matches
Mail list logo