...">

What is the equivalent of Css "display: none" in flex?

I tried this way but did not work:

<mx:Box includeInLayout="false" visible="false">

How to achieve the same result as display:none?

+5
source share
1 answer

The only way to completely hide the flex component, for example display: none, is to set two properties together

  • includeInLayout
  • visible

Only 2 compatible together will result in a display: none.

visible = false will only result in visibility: hidden

+6
source

All Articles