wordBreak

object wordBreak extends Style[String]

The word-break CSS property specifies whether or not the browser should insert line breaks wherever the text would otherwise overflow its content box.

The word-break CSS property specifies whether or not the browser should insert line breaks wherever the text would otherwise overflow its content box.

MDN

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

Value members

Concrete fields

lazy val breakAll: StyleSetter

To prevent overflow, word breaks should be inserted between any two characters (excluding Chinese/Japanese/Korean text).

To prevent overflow, word breaks should be inserted between any two characters (excluding Chinese/Japanese/Korean text).

MDN

lazy val breakWord: StyleSetter

To prevent overflow, normally unbreakable words may be broken at arbitrary points if there are no otherwise acceptable break points in the line.

To prevent overflow, normally unbreakable words may be broken at arbitrary points if there are no otherwise acceptable break points in the line.

MDN

lazy val keepAll: StyleSetter

Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal.

Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal.

MDN

lazy val normal: StyleSetter

Use the default line break rule.

Use the default line break rule.

MDN

Inherited fields

override val name: String
Inherited from
Style