TextAlign

trait TextAlign extends Style[String]
class Style[String]
class Key
class Object
trait Matchable
class Any

Value members

Concrete fields

lazy val center: StyleSetter

The inline contents are centered within the line box.

The inline contents are centered within the line box.

MDN

lazy val end: StyleSetter

The same as right if direction is left-to-right and left if direction is right-to-left.

The same as right if direction is left-to-right and left if direction is right-to-left.

MDN

lazy val justify: StyleSetter

The text is justified. Text should line up their left and right edges to the left and right content edges of the paragraph.

The text is justified. Text should line up their left and right edges to the left and right content edges of the paragraph.

MDN

lazy val left: StyleSetter

The inline contents are aligned to the left edge of the line box.

The inline contents are aligned to the left edge of the line box.

MDN

lazy val right: StyleSetter

The inline contents are aligned to the right edge of the line box.

The inline contents are aligned to the right edge of the line box.

MDN

lazy val start: StyleSetter

The same as left if direction is left-to-right and right if direction is right-to-left.

The same as left if direction is left-to-right and right if direction is right-to-left.

MDN

Inherited fields

override val name: String
Inherited from
Style