flexWrap

scalatags.generic.Styles.flexWrap
object flexWrap extends Style

The CSS flex-wrap property specifies whether the children are forced into a single line or if the items can be flowed on multiple lines.

MDN

Attributes

Graph
Supertypes
class Style
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
flexWrap.type

Members list

Value members

Inherited methods

def :=[Builder, T](v: T)(implicit ev: StyleValue[Builder, T]): StylePair[Builder, T]

Creates an StylePair from an Style and a value of type T, if there is an StyleValue of the correct type.

Creates an StylePair from an Style and a value of type T, if there is an StyleValue of the correct type.

Attributes

Inherited from:
Style
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val nowrap: StylePair[Builder, String]

The flex items are laid out in a single line which may cause the flex container to overflow. The cross-start is either equivalent to start or before depending flex-direction value.

The flex items are laid out in a single line which may cause the flex container to overflow. The cross-start is either equivalent to start or before depending flex-direction value.

MDN

Attributes

lazy val wrap: StylePair[Builder, String]

The flex items break into multiple lines. The cross-start is either equivalent to start or before depending flex-direction value and the cross-end is the opposite of the specified cross-start.

The flex items break into multiple lines. The cross-start is either equivalent to start or before depending flex-direction value and the cross-end is the opposite of the specified cross-start.

MDN

Attributes

lazy val wrapReverse: StylePair[Builder, String]

Behaves the same as wrap but cross-start and cross-end are permuted.

Behaves the same as wrap but cross-start and cross-end are permuted.

MDN

Attributes