You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
CaerusKaru edited this page Mar 17, 2019
·
12 revisions
The fxLayout directive should be used on DOM containers whose children should layout or flow as the text
direction along the main-axis or the cross-axis.
Shown below are the supported fxLayout directive values and their resulting CSS stylings on the hosting element
container:
Value
Equivalent CSS
'' (default)
flex-direction: row
row
flex-direction: row
row-reverse
flex-direction: row-reverse
column
flex-direction: column
column-reverse
flex-direction: column-reverse
fxLayout + wrap
By default, flex items will not wrap in their container. Formerly published as distinct directive, fxLayoutWrap was deprecated in favor of simply adding the wrap parameter as a secondary option to the fxLayout directive.
Note: when using wrap, developers must first specify the layout direction.
fxLayout + inline
There are some instances where developers want to use the inline-flex CSS display property, instead of the default. Angular Layout provides this option by accepting a secondary argument to the fxLayout directive as follows: