Package com.persequor.extension.frontend
Class Props
java.lang.Object
com.persequor.extension.frontend.Props
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalignContent
(AlignContent alignContent) alignItems
(AlignItems alignItems) containerType
(ContainerType containerType) Deprecated.Please use justify() insteadelevation
(int elevation) int
int
boolean
getWidth()
getWrap()
static Props
of()
static Props
of
(boolean square) Deprecated.useof()
.square(...) instead.static Props
of
(int elevation) Deprecated.useof()
.elevation(...) instead.static Props
of
(ContainerType containerType) static Props
of
(AlignItems alignItems) static Props
static Props
static Props
static Props
static Props
spacing
(int spacing) square()
Sets this flex container to have square cornerssquare
(boolean square)
-
Constructor Details
-
Props
public Props()
-
-
Method Details
-
of
- Parameters:
width
- The grid width this section should have- Returns:
- A properties object on which you can set additional properties
-
of
- Parameters:
direction
- The layout direction of this container- Returns:
- A properties object on which you can set additional properties
-
of
- Parameters:
justify
- Defines the justify-content style property for this section- Returns:
- A properties object on which you can set additional properties
-
of
- Parameters:
alignItems
- Defines the `align-items` style property for this section- Returns:
- A properties object on which you can set additional properties
-
of
- Parameters:
containerType
- The container type this section should have- Returns:
- A properties object on which you can set additional properties
-
of
- Parameters:
wrap
- The wrap mode for this flex container- Returns:
- A properties object on which you can set additional properties
-
of
- Parameters:
variant
- The variant for this flex container- Returns:
- A properties object on which you can set additional properties
-
of
Deprecated.useof()
.elevation(...) instead.- Parameters:
elevation
- The elevation for this flex container- Returns:
- A properties object on which you can set additional properties
-
of
Deprecated.useof()
.square(...) instead.- Parameters:
square
- whether this flex container should have square corner- Returns:
- A properties object on which you can set additional properties
-
of
- Returns:
- A properties object with all defaults
-
width
- Parameters:
width
- The grid width this section should have- Returns:
- A properties object on which you can set additional properties
-
direction
- Parameters:
direction
- The layout direction of this container- Returns:
- A properties object on which you can set additional properties
-
height
- Parameters:
height
- The height this section should have, defined by CSS size such as: "500px"- Returns:
- A properties object on which you can set additional properties
-
content
Deprecated.Please use justify() instead- Parameters:
justify
- Defines the `justify-content` style property for this section- Returns:
- A properties object on which you can set additional properties
-
justify
- Parameters:
justify
- Defines the `justify-content` style property for this section- Returns:
- A properties object on which you can set additional properties
-
alignItems
- Parameters:
alignItems
- Defines the `align-items` style property for this section- Returns:
- A properties object on which you can set additional properties
-
alignContent
- Parameters:
alignContent
- Defines the `align-content` style property for this section- Returns:
- A properties object on which you can set additional properties
-
containerType
- Parameters:
containerType
- The container type this section should have- Returns:
- A properties object on which you can set additional properties
-
wrap
- Parameters:
wrap
- The wrap mode for this flex container- Returns:
- A properties object on which you can set additional properties
-
variant
- Parameters:
variant
- The variant for this flex container- Returns:
- A properties object on which you can set additional properties
-
elevation
- Parameters:
elevation
- The elevation for this flex container- Returns:
- A properties object on which you can set additional properties
-
square
- Parameters:
square
- whether this flex container should have square corner- Returns:
- A properties object on which you can set additional properties
-
spacing
- Parameters:
spacing
- space between children- Returns:
- A properties object on which you can set additional properties
-
square
Sets this flex container to have square corners- Returns:
- A properties object on which you can set additional properties
-
getWidth
-
getContainerType
-
getJustify
-
getWrap
-
getVariant
-
getElevation
public int getElevation() -
getSquare
public boolean getSquare() -
getHeight
-
getAlignItems
-
getAlignContent
-
getDirection
-
getSpacing
public int getSpacing()
-