Table of Contents

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

TwResponsiveClass

ColReverse

Gets or sets the flex-col-reverse classes.

public TwResponsiveClass ColReverse { get; set; }

Property Value

TwResponsiveClass

Row

Gets or sets the flex-row classes.

public TwResponsiveClass Row { get; set; }

Property Value

TwResponsiveClass

RowReverse

Gets or sets the flex-row-reverse classes.

public TwResponsiveClass RowReverse { get; set; }

Property Value

TwResponsiveClass

Methods

Get(FlexDirection?, Breakpoint)

Gets the class for a direction at a breakpoint.

public string Get(FlexDirection? direction, Breakpoint breakpoint)

Parameters

direction FlexDirection?

The direction. Nothing is returned when it is null.

breakpoint Breakpoint

The breakpoint.

Returns

string

The class, or an empty string when none is set.