What is the CSS “Display: None” in Flex Is equivalent?

I tried this way, but it didn’t work:

How to achieve the same as display: none?

The only way to completely hide the flex component (such as display: none) is to set the two attributes in Together

> includeInLayout
>Visible

Only 2 are combined together, will be displayed: none.

Single visible = false Will result in visibility: hidden

I tried this way, but it didn’t work:

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

How to achieve the same as display: none?

The only way to completely hide the flex component (such as display: none) is to set the two properties together

> includeInLayout
>Visible

Only two combinations will be displayed: none.

Single visible = false will lead to visibility: hidden

p>

Leave a Comment

Your email address will not be published.