Class TwResponsiveFlexDirection
- Namespace
- TwBlazor.Configuration
- Assembly
- TwBlazor.dll
The flex direction classes written out at every breakpoint, so a layout can stack on a phone and sit side by side on a wider screen.
public class TwResponsiveFlexDirection
- Inheritance
-
TwResponsiveFlexDirection
- Inherited Members
Constructors
TwResponsiveFlexDirection()
public TwResponsiveFlexDirection()
Properties
Col
Gets or sets the flex-col classes.
public TwResponsiveClass Col { get; set; }
Property Value
ColReverse
Gets or sets the flex-col-reverse classes.
public TwResponsiveClass ColReverse { get; set; }
Property Value
Row
Gets or sets the flex-row classes.
public TwResponsiveClass Row { get; set; }
Property Value
RowReverse
Gets or sets the flex-row-reverse classes.
public TwResponsiveClass RowReverse { get; set; }
Property Value
Methods
Get(FlexDirection?, Breakpoint)
Gets the class for a direction at a breakpoint.
public string Get(FlexDirection? direction, Breakpoint breakpoint)
Parameters
directionFlexDirection?The direction. Nothing is returned when it is null.
breakpointBreakpointThe breakpoint.
Returns
- string
The class, or an empty string when none is set.