WhiteSpace

com.raquo.laminar.defs.styles.traits.WhiteSpace
trait WhiteSpace extends Normal

Attributes

Graph
Supertypes
trait Normal
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete fields

lazy override val normal: StyleSetter

Sequences of whitespace are collapsed. Newline characters in the source are handled as other whitespace. Breaks lines as necessary to fill line boxes.

Sequences of whitespace are collapsed. Newline characters in the source are handled as other whitespace. Breaks lines as necessary to fill line boxes.

Attributes

lazy val nowrap: StyleSetter

Collapses whitespace as for normal, but suppresses line breaks (text wrapping) within text.

Collapses whitespace as for normal, but suppresses line breaks (text wrapping) within text.

Attributes

lazy val pre: StyleSetter

Sequences of whitespace are preserved, lines are only broken at newline characters in the source and at br elements.

Sequences of whitespace are preserved, lines are only broken at newline characters in the source and at br elements.

Attributes

lazy val preLine: StyleSetter

Sequences of whitespace are collapsed. Lines are broken at newline characters, at br, and as necessary to fill line boxes.

Sequences of whitespace are collapsed. Lines are broken at newline characters, at br, and as necessary to fill line boxes.

Attributes

lazy val preWrap: StyleSetter

Sequences of whitespace are preserved. Lines are broken at newline characters, at br, and as necessary to fill line boxes.

Sequences of whitespace are preserved. Lines are broken at newline characters, at br, and as necessary to fill line boxes.

Attributes