royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olaf Krueger <>
Subject Re: [Royale|FlexJS] Questions about states
Date Thu, 19 Oct 2017 21:23:40 GMT
>States removes element from DOM

I wonder why Royale states removes element from DOM instead of using the CSS
visibility:hidden; (The element is hidden but still take up the same place)
or display:none (The element is hidden and take up no space);

Does somebody know what is the benefit of removing elements from DOM vs the
use of CSS?

However, I think if Royale states are working in a similar way as in Flex
this would be one more key feature of Royale.


Sent from:

View raw message