如何在 Flex-Layout 中使用 space-evenly
How to use space-evenly in Flex-Layout
如何使用space-evenly in Flex-Layout in the fxLayoutAlign directive? From this sample, I don't see that option. I've tried reviewing the api documentation for fxLayoutAlign but there's some problem with that.
<div fxLayout='row' fxLayoutAlign='space-evenly center'>
<div>Content 1</div>
<div>Content 2</div>
</div>
如果框架中没有,可以直接应用样式
<div fxLayout="row" style="justify-content:space-evenly">
<div>Content 1</div>
<div>Content 2</div>
</div>
如何使用space-evenly in Flex-Layout in the fxLayoutAlign directive? From this sample, I don't see that option. I've tried reviewing the api documentation for fxLayoutAlign but there's some problem with that.
<div fxLayout='row' fxLayoutAlign='space-evenly center'>
<div>Content 1</div>
<div>Content 2</div>
</div>
如果框架中没有,可以直接应用样式
<div fxLayout="row" style="justify-content:space-evenly">
<div>Content 1</div>
<div>Content 2</div>
</div>