Applies the directive to an element.
Possible values include igxFlexGrow, igxFlexShrink, igxFlexOrder, igxFlexBasis.
<div igxFlex>Content</div>
Applies the grow attribute to an element that uses the directive.
Default value is 1.
<div>
<div igxFlex igxFlexGrow="0">Content1</div>
<div igxFlex igxFlexGrow="1">Content2</div>
<div igxFlex igxFlexGrow="0">Content3</div>
</div>
Applies the order attribute to an element that uses the directive.
Default value is 0.
<div>
<div igxFlex igxFlexOrder="1">Content1</div>
<div igxFlex igxFlexOrder="0">Content2</div>
<div igxFlex igxFlexOrder="2">Content3</div>
</div>
Applies the shrink attribute to an element that uses the directive.
Default value is 1.
<div>
<div igxFlex igxFlexShrink="1">Content1</div>
<div igxFlex igxFlexShrink="0">Content2</div>
<div igxFlex igxFlexShrink="1">Content3</div>
</div>
Applies the
flex-basisattribute to an element that uses the directive.Default value is
auto.Other possible values include
content,max-content,min-content,fit-content.