Skip to main content

Edit Container

Purpose

Adds or edits the wrapping behaviour of the container.

Example

edit-container --elementName my-container-element --flexFlow row --flexCross start --flexMain start --flexTrack start

Command Syntax

ParameterFormatRequirementUsage
--elementNameStringMandatoryName of the container to be edited.
--flexFlowStringMandatoryDefines the direction and wrapping behavior. Possible values are:
CLI Tool naming (JSON naming)
  • row (ROW)
  • column (COLUMN)
  • row_wrap (ROW_WRAP)
  • row_reverse (ROW_REVERSE)
  • row_wrap_reverse (ROW_WRAP_REVERSE)
  • column_reverse (COLUMN_REVERSE)
  • column_wrap_reverse (COLUMN_WRAP_REVERSE)
--flexMainStringMandatoryDefines how items are placed on the main axis. Possible values are:
CLI Tool naming (JSON naming)
  • start (START)
  • end (END)
  • center (CENTER)
  • evenly (EVENLY)
  • around (AROUND)
  • between (BETWEEN)
--flexCrossStringMandatoryDefines how items are placed perpendicular to the main axis. Possible values are:
CLI Tool naming (JSON naming)
  • start (START)
  • end (END)
  • center (CENTER)
  • evenly (EVENLY)
  • around (AROUND)
  • between (BETWEEN)
--flexTrackStringMandatoryDefines how multiple rows or columns are aligned. Possible values are:
CLI Tool naming (JSON naming)
  • start (START)
  • end (END)
  • center (CENTER)
  • evenly (EVENLY)
  • around (AROUND)
  • between (BETWEEN)